a question on an error of building 2.6.24.2



Hi there,

I am using a cross-compiler gcc 4.1.2 and glibc 2.3.6 to build
2.6.24.2 for an 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

Is it gcc problem, or something else?

Thanks.

Jingyu
.



Relevant Pages

  • a question on an error of building 2.6.24.2
    ... I am using a cross-compiler gcc 4.1.2 and glibc 2.3.6 to build ... ..config file is also attached. ... Is it gcc problem, or something else? ...
    (comp.os.linux.powerpc)
  • Re: a question on an error of building 2.6.24.2
    ... I am using a cross-compiler gcc 4.1.2 and glibc 2.3.6 to build ... Did u do a "make mrproper" before u do the make? ... move the .config to a tmp directory. ...
    (comp.os.linux.development.system)