a question on an error of building 2.6.24.2

Jingyu Liu jyliu.linux at gmail.com
Fri Feb 15 15:19:21 EST 2008


Hi there,

I am using a cross-compiler gcc 4.1.2 and glibc 2.3.6 to build 2.6.24.2 for
a adder875 board. At the end of  building, the ld gives the following error
messages:

  LD      init/built-in.o
  LD      vmlinux
`.exit.data' referenced in section `.exit.text' of drivers/built-in.o:
defined in discarded section `.exit.data' of drivers/built-in.o
`.exit.data' referenced in section `.exit.text' of drivers/built-in.o:
defined in discarded section `.exit.data' of drivers/built-in.o
`.exit.data' referenced in section `.exit.text' of drivers/built-in.o:
defined in discarded section `.exit.data' of drivers/built-in.o
`.exit.data' referenced in section `.exit.text' of drivers/built-in.o:
defined in discarded section `.exit.data' of drivers/built-in.o
make: *** [vmlinux] Error 1

.config file is also attached.

Is it gcc problem, or something else?

Thanks.

Jingyu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080214/27ec7e4b/attachment.htm>


More information about the Linuxppc-dev mailing list