This is the mail archive of the crossgcc@sources.redhat.com 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] |
However during linking to generate vmlinux, there were several "relocation truncated to fit: R_ARM_PC24" errors.
Those are often actually undefined symbols. Can you post the exact error messages, with some context? You might consider adding -fno-unit-at-a-time to your CFLAGS; it can prevent functions from being optimized out.
I used -fno-unit-at-a-time and all the linker "relocation truncated to fit:" and most of the "undefined reference" errors went away. Thanks for the help.
There are only two error left now:
net/network.o(.text.init+0x1428): In function `sys_accept': /home/work/2421/test/net/socket.c:1080: undefined reference to `.L294' net/network.o(.text.init+0x142c): In function `sys_connect': /home/work/2421/test/net/socket.c:1098: undefined reference to `.L295'
BTW, there are quite a few patches being submitted to add gcc-3.4 support to the mainline kernel. I wouldn't be surprised if a patch or two were needed. For instance, have a look at
Which kernel were you trying to compile? Oh, linux-2.4.21 for arm. Yeah, I bet that doesn't have any gcc-3.4 fixes in it yet. Can you try a more recent one? - Dan
-- My technical stuff: http://kegel.com My politics: see http://www.misleader.org for examples of why I'm for regime change
------ 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] |