Gentoo Archives: gentoo-bsd

From: Patrice Clement <patrice@×××××.org>
To: gentoo-bsd@l.g.o
Subject: Re: [gentoo-bsd] [SoC 2009] Ping ? Pong ! News and progress..
Date: Sun, 16 Aug 2009 11:14:32
Message-Id: 20090816111428.GC14448@nenette.boulz.org
In Reply to: Re: [gentoo-bsd] [SoC 2009] Ping ? Pong ! News and progress.. by Javier Villavicencio
1 Hi Javier, and thank you for your reply.
2
3 Saturday 15 Aug 2009 10:44:27 (-0300), Javier Villavicencio wrote :
4 >
5 > Ahh good old times. FreeBSD devs did also patch GCC sources to work on
6 > FreeBSD. See http://bugs.gentoo.org/192403 for what it takes to get "our
7 > toolchain" to behave properly on FreeBSD. And that's why I asked some
8 > time ago if you managed to compile the kernel with a gentoo toolchain,
9 > it's a big pain in the back :D.
10 >
11 > There might be many things patched, however those in the gcc spec are
12 > key to get a working gcc, and lucky us, the specs don't vary too much,
13 > so you can try a diff between NetBSD gcc specs versus GNU gcc specs to
14 > spot what's missing/required.
15 >
16 > From there you can start a "copy" of your sys-devel/gcc ebuild of
17 > choice, and add patches as required, once you get a somewhat working
18 > version the patches can be tested/reviewed by the GNU devs to iron out
19 > what's not required, what's correct, and what's wrong.
20 >
21 > And here is where the legal BSD vs GPL battle starts, cause you can't
22 > add BSD copyrighted code into GPL code :D, fun fun.
23 >
24 > As a last note, beware that some of the ebuilds in portage may not
25 > compile correctly or at all if they don't use a GNU (gentooized, but gnu
26 > at it's heart) toolchain, which includes the versions of the utils
27 > stated above (m4, sed, awk, etc), binutils, and gcc.
28 >
29 > Salu2!,
30 > Javier.
31 >
32
33 That seems to be a huge amount of work. As said before, I'll keep things
34 "as-is" for now because it just works. This week, I'll focus on problems
35 solving with PAM and stage building. I'm sorry but I'm a bit in a hurry due to
36 lack of time. I want to bring something functionnal for everyone. I really want
37 to continue my work after GSoC, don't doubt on my motivation. You, guys and
38 devs of this mailing list, were always here to bring me some piece of advices
39 when I was in trouble.. I want to give a back to you. :)
40
41 Cheers!
42
43 Patrice