mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Andreas Bießmann" <andreas@biessmann.de>
To: oselas@community.pengutronix.de
Cc: PTXdist ML <ptxdist@pengutronix.de>
Subject: [ptxdist] OSELAS.Toolchain: Error in i686 build?
Date: Thu, 19 Jan 2012 09:54:22 +0100	[thread overview]
Message-ID: <4F17DA3E.9060303@biessmann.de> (raw)

Hi all,

I'm trying to get a i686 OSELAS.Toolchain built on OS X. I managed to
get successfully arm-v4t-linux-gnueabi Toolchain built before and have
currently no clue why this should not work out for i686 toolchain.

The error message is as following:

---8<---
i686-unknown-linux-gnu-gcc strcpy.c -c -std=gnu99 -fgnu89-inline -O2
-Wall -Winline -Wwrite-strings -fmerge-all-constants -g
-Wstrict-prototypes -mpreferred-stack-boundary=2  -Wa,-mtune=i686
-I../include
-I/Users/andreas/Documents/source/OSELAS.Toolchain/platform-i686-unknown-linux-gnu-gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/build-target/glibc-2.14.1-first-build/string
-I/Users/andreas/Documents/source/OSELAS.Toolchain/platform-i686-unknown-linux-gnu-gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/build-target/glibc-2.14.1-first-build
-I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686
-I../sysdeps/unix/sysv/linux/i386/i686
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386
-I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread
-I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu
-I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet
-I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv
-I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix
-I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu
-I../sysdeps/i386/i686/multiarch -I../nptl/sysdeps/i386/i686
-I../sysdeps/i386/i686 -I../sysdeps/i386/i486
-I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386
-I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic
-I../nptl  -I.. -I../libio -I. -nostdinc -isystem
/opt/OSELAS.Toolchain-2011.11.0/i686-unknown-linux-gnu/gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/gcc-first/lib/gcc/i686-unknown-linux-gnu/4.6.2/include
-isystem
/opt/OSELAS.Toolchain-2011.11.0/i686-unknown-linux-gnu/gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/gcc-first/lib/gcc/i686-unknown-linux-gnu/4.6.2/include-fixed
-isystem
/opt/OSELAS.Toolchain-2011.11.0/i686-unknown-linux-gnu/gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/sysroot-i686-unknown-linux-gnu/usr/include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h        -o
/Users/andreas/Documents/source/OSELAS.Toolchain/platform-i686-unknown-linux-gnu-gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/build-target/glibc-2.14.1-first-build/string/strcpy.o
-MD -MP -MF
/Users/andreas/Documents/source/OSELAS.Toolchain/platform-i686-unknown-linux-gnu-gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/build-target/glibc-2.14.1-first-build/string/strcpy.o.dt
-MT
/Users/andreas/Documents/source/OSELAS.Toolchain/platform-i686-unknown-linux-gnu-gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/build-target/glibc-2.14.1-first-build/string/strcpy.o
../sysdeps/i386/i686/multiarch/strcmp.S: Assembler messages:
../sysdeps/i386/i686/multiarch/strcmp.S:90: Error: can't resolve `.text'
{.text section} - `strcmp' {.text section}
make[3]: ***
[/Users/andreas/Documents/source/OSELAS.Toolchain/platform-i686-unknown-linux-gnu-gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/build-target/glibc-2.14.1-first-build/string/strcmp.o]
Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [string/subdir_lib] Error 2
make[1]: *** [lib] Error 2
make: ***
[/Users/andreas/Documents/source/OSELAS.Toolchain/platform-i686-unknown-linux-gnu-gcc-4.6.2-glibc-2.14.1-binutils-2.21.1a-kernel-2.6.39-sanitized/state/glibc-first.compile]
Error 2
--->8---

Some searches pointed out some possible binutils error. ->
http://old.nabble.com/error-with-binutils-2.21.53.0.2-td32992962.html#a32992962
http://permalink.gmane.org/gmane.comp.t2.devel/5199
(gmane mail mention reverting some commit is: 'r39979	* updated binutils
(2.20.51.0.11 -> 2.21.53.0.2)')

Has any one encountered same problem with i686 toolchain on linux build
host?

best regards

Andreas Bießmann

-- 
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2012-01-19  8:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-19  8:54 Andreas Bießmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-01-18  9:31 Andreas Bießmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F17DA3E.9060303@biessmann.de \
    --to=andreas@biessmann.de \
    --cc=oselas@community.pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox