This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi all, I'm attempting to build a cross toolchain for a Debian embedded ARM chip on OS X. I've tried several configurations, and gotten close, but I'm having trouble with the last step. I found with newer versions of GCC (4.4.x), the PPL build was failing due to some problem with shared libraries. I was able to get PPL to build by adding the flag --enable-interfaces='c,c++', but then the initial GCC compiler failed with some kind of library issue. I decided to try building with GCC 4.3.5 instead to see if that would fix the issue, since some digging led me to believe it was related to GCC > 4.4. Anyway, with 4.3.5 I was able to get all the way to the final compiler stage. At this point, I get the following error (from build.log): [ALL ?] ? ?ld: duplicate symbol _insert_decl_map in libbackend.a(tree-inline.o) and tree-inline.o [ALL ?] ? ?collect2: ld returned 1 exit status [ERROR] ? ?make[3]: *** [cc1plus-dummy] Error 1 [ALL ?] ? ?make[3]: *** Waiting for unfinished jobs.... [ERROR] ? ?make[2]: *** [all-gcc] Error 2 [ERROR] ? ?make[1]: *** [all] Error 2 [ERROR] ? ?Build failed in step 'Installing final compiler' [ERROR] ? ?Error happened in '/Volumes/DiskImage/crosstool-ng-1.9.3/scripts/functions' in function 'CT_DoExecLog' (line unknown, sorry) [ERROR] ? ? ? ? ?called from '/Volumes/DiskImage/crosstool-ng-1.9.3/scripts/build/cc/gcc.sh' at line # 470 in function 'do_cc' [ERROR] ? ? ? ? ?called from '/Volumes/DiskImage/crosstool-ng-1.9.3/scripts/crosstool-NG.sh' at line # 597 in function 'main' I've done a good amount of internet searching, and as far as I can tell, it's the same basic issue as this GCC bug report: http://gcc.gnu.org/ml/gcc-patches/2009-08/msg01583.html. Basically something (ranlib?) is inserting is putting common symbols in these two library tables. Unfortunately, I'm still a little new to this stuff, and I have no idea how to fix this. Can anyone go off this information and advise me how to try to fix it? Thanks! -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |