From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by ozlabs.org (Postfix) with ESMTP id D7E3FDDF36 for ; Fri, 15 Feb 2008 15:19:23 +1100 (EST) Received: by wa-out-1112.google.com with SMTP id m28so904563wag.13 for ; Thu, 14 Feb 2008 20:19:22 -0800 (PST) Message-ID: <8dd3a8e00802142019y28c16e52sa9b676b2cc1d983d@mail.gmail.com> Date: Thu, 14 Feb 2008 20:19:21 -0800 From: "Jingyu Liu" To: linuxppc-dev@ozlabs.org Subject: a question on an error of building 2.6.24.2 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6225_196786.1203049161919" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , ------=_Part_6225_196786.1203049161919 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_6225_196786.1203049161919 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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

------=_Part_6225_196786.1203049161919--