Summary: | dev-embedded/sdcc-2.8.0 fails to build with gcc 4.4 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Capricelli <orzel> |
Component: | Current packages | Assignee: | Embedded Team (OBSOLETE) <dev-embedded+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 249226 |
Description
Thomas Capricelli
2009-06-23 00:52:31 UTC
My personal guess (from NEWS): * Changes in version 2.3a, 2006-09-13: ... ** Except for LALR(1) parsers in C with POSIX Yacc emulation enabled (with `-y', `--yacc', or `%yacc'), Bison no longer generates #define statements for associating token numbers with token names. Removing the #define statements helps to sanitize the global namespace during preprocessing, but POSIX Yacc requires them. Bison still generates an enum for token names in all cases. You can see in my copy/paste that bison is actually called with this option '-y'. (i dont know if this is a "LALR" though),.... does it matter? today dev-embedded/sdcc-2.8.0 failed with another error : ... SDCCset.c:321: note: initialized from here x86_64-pc-linux-gnu-gcc -march=native -O3 -pipe -msse3 -Wall -march=native -O3 -pipe -msse3 -Wall -march=native -O3 -pipe -msse3 -I. -I.. -I./../support/Util -I. -I. -c SDCClabel.c -o SDCClabel.o x86_64-pc-linux-gnu-gcc -march=native -O3 -pipe -msse3 -Wall -march=native -O3 -pipe -msse3 -Wall -march=native -O3 -pipe -msse3 -I. -I.. -I./../support/Util -I. -I. -c SDCCBBlock.c -o SDCCBBlock.o x86_64-pc-linux-gnu-g++ -march=native -O3 -pipe -msse3 -Wall -I. -I.. -I.. -I../cmd.src -I../sim.src -I../gui.src -c shc08.cc -o shc08.o x86_64-pc-linux-gnu-g++ -march=native -O3 -pipe -msse3 -Wall -Wl,-O1 -o shc08 glob.o inst.o simhc08.o hc08.o shc08.o -L.. -lsim -lucsimutil -lguiucsim -lcmd -lsim -lnsl /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcmd collect2: ld returned 1 exit status make[2]: *** [shc08] Error 1 + 10 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> sdcc-2.8.0.ebuild, + +files/sdcc-2.8.0-gcc44.patch: + Fix building with GCC 4.4+ wrt #275126. The ebuild is still bogus; prestrips binaries and scanelf prints out warnings about malformed ar -archives |