(L)GPL code in MIT licensed product. Is it legal?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
nexos
Member
Member
Posts: 1081
Joined: Tue Feb 18, 2020 3:29 pm
Libera.chat IRC: nexos

(L)GPL code in MIT licensed product. Is it legal?

Post by nexos »

Hello,
In my bootloader, the ELF structures I obtained have been taken from glibc. My project is licensed under the MIT license. Since glibc is LGPL licensed, is it within the license for me to integrate this code into my project?
Thanks,
nexos
Last edited by nexos on Fri Sep 11, 2020 10:01 am, edited 1 time in total.
"How did you do this?"
"It's very simple — you read the protocol and write the code." - Bill Joy
Projects: NexNix | libnex | nnpkg
Korona
Member
Member
Posts: 1000
Joined: Thu May 17, 2007 1:27 pm
Contact:

Re: GPL code in MIT licensed product. Is it legal?

Post by Korona »

AFAIU (IANAL) that this is legal but results in a GPL-licensed product.

That being said, ELF structs are unlikely to be considered IP of glibc.
managarm: Microkernel-based OS capable of running a Wayland desktop (Discord: https://discord.gg/7WB6Ur3). My OS-dev projects: [mlibc: Portable C library for managarm, qword, Linux, Sigma, ...] [LAI: AML interpreter] [xbstrap: Build system for OS distributions].
nexos
Member
Member
Posts: 1081
Joined: Tue Feb 18, 2020 3:29 pm
Libera.chat IRC: nexos

Re: (L)GPL code in MIT licensed product. Is it legal?

Post by nexos »

OK, makes sense. In the open source world, the GPL family seems to be more of a stumbling block then help. That is why I switched to the MIT license.
"How did you do this?"
"It's very simple — you read the protocol and write the code." - Bill Joy
Projects: NexNix | libnex | nnpkg
PeterX
Member
Member
Posts: 590
Joined: Fri Nov 22, 2019 5:46 am

Re: (L)GPL code in MIT licensed product. Is it legal?

Post by PeterX »

nexos wrote:OK, makes sense. In the open source world, the GPL family seems to be more of a stumbling block then help. That is why I switched to the MIT license.
Well, this is a matter of opinion. some people like the other extreme (PD/CC0) and some like that their work can't be used in more unfree software, so they use GPL/AGPL. Some like more in the middle between this extremes (like MIT/Expat License and others).

BTW Bruce Perens recommends to reduce the licenses to three:
- For permissive terms: Apache 2.0 License
- For intermediate terms: LGPL
- For copyleft terms: AGPL

https://licenseuse.org/

No need to mention that licenses are a very hotly debated thing.

Greetings
Peter
Post Reply