On 12/03/14 19:11, Michał Górny wrote:
Hi,

Some observations I made when forking gcc. Hope you find them helpful
for toolchain.eclass work.

1. src_unpack() is likely unnecessary -- the default will unpack
the fetched tarballs,

2. setup_multilib_osdirnames() doesn't do anything with gcc-4.9
(possibly some older too) -- the sed expression doesn't match anything,

3.         *-linux)         needed_libc=no-fucking-clue;;
very professional, isn't it?

4. if you enable --enable-version-specific-runtime-libs and add a small
patch from funtoo, you can get rid of that big post-install library
moving thing.

5. the 'gdbdir' definition fails on non-SYMLINK_LIB systems -- i.e.
when gcc is actually in /usr/lib/gcc.

6. some things just ask for REQUIRED_USE rather than silent disabling.

7. you miss dep on doxygen with USE=cxx,doc.

Thanks for posting this. Can I please see where you are working on this so I can test and make sure this is going to work with the stuff I do --- minor arches + alternative/embedded libc's. I'd like to pre-empt issues and not repeat some of the headaches I hit with multilib because I got in on the act late. Also, I have a series of commits I'd like to get into toolchain and have held off ---- again to do with alt libc's.

--
Anthony G. Basile, Ph.D.
Gentoo Linux Developer [Hardened]
E-Mail    : [email protected]
GnuPG FP  : 1FED FAD9 D82C 52A5 3BAB  DC79 9384 FA6E F52D 4BBA
GnuPG ID  : F52D4BBA


Reply via email to