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] |
I'm trying to build the cross-compiler as per this IBM article, http://www-128.ibm.com/developerworks/power/library/pa-emulation.html?ca=dgr-lnxw03EmulatePPC
I am using Fedora Core 3 and after an hour or so of compilation once I execute the command "sh demo-ppc750.sh", I get an error "sorry, not implemented" about a function that has the name "entropy" into it. ...
Please give the last 50 lines of the log.
Also, is it ok if I cc the crossgcc mailing list on this?
Go ahead. Here are the last lines. The system is Fedora Core 3 i386.
...
/opt/crosstool/gcc-4.1-20050702-glibc-2.3.5/powerpc-750-linux-gnu/bin/powerpc-750-linux-gnu-gcc -m32 -Wp,-MD,drivers/char/.random.o.d -nostdinc -isystem /opt/crosstool/gcc-4.1-20050702-glibc-2.3.5/powerpc-750-linux-gnu/lib/gcc/powerpc-750-linux-gnu/4.1.0/include -D__KERNEL__ -Iinclude -Iarch/ppc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -Iarch/ppc -msoft-float -pipe -ffixed-r2 -mmultiple -mstring -Wa,-maltivec -Wdeclaration-after-statement -Wno-pointer-sign -DKBUILD_BASENAME=random -DKBUILD_MODNAME=random -c -o drivers/char/random.o drivers/char/random.c
drivers/char/random.c: In function 'extract_entropy':
drivers/char/random.c:634: sorry, unimplemented: inlining failed in call to 'add_entropy_words': function not considered for inlining
drivers/char/random.c:1325: sorry, unimplemented: called from here
drivers/char/random.c: At top level:
drivers/char/random.c:1813: internal compiler error: in cgraph_early_inlining, at ipa-inline.c:990
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [drivers/char/random.o] Error 1
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2
The 'internal compiler error' line is the worst one. That's fixed in a newer snapshot of gcc-4.1; seee http://gcc.gnu.org/PR22379
But perhaps the real problem is that demo-ppc750.sh picks an unstable development version of gcc by default (probably because I left it that way by accident when filing a bug report). See http://kegel.com/crosstool/current/buildlogs/ for a list of the ones that actually build. I'd suggest editing that file to select gcc-4.0.1 instead.
Where do you want to run the apps you'll compile with this toolchain? Is it a linux system that's already running? If so, you might want to match its version of glibc. - Dan
-- Trying to get a job as a c++ developer? See http://kegel.com/academy/getting-hired.html
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |