[oe] ...gcc/specs: Invalid argument when building meta-sdk or meta-toolchain for i586 on x86_64

Christopher Lang christopher.lang at plus.cablesurf.de
Mon Mar 12 12:21:32 UTC 2007


While testing bb 1.8 I ran into the following issue. I do not think it is bb 
1.8 related, it might rather be an issue with building on x86_64:
 
When building meta-sdk or meta-toolchain to following error occurs:

xgcc: /home/chris/tmp/oe-test-linux-bb18/build/tmp/work/x86_64-oe-linux/gcc-cross-sdk-4.1.1-r10/gcc-4.1.1/build.x86_64-linux.i586-oe-linux/./gcc/specs: 
Invalid argument
| make[2]: *** [crtbegin.o] Error 1

I think that sdk and toolchain are quite important for OE. So any help is 
appreciated!

(entered as bug  http://bugs.openembedded.org/show_bug.cgi?id=1977)

many thanks
Chris



Configuration:

chris at linux64:~/tmp/oe-test-linux-bb18/build> bitbake meta-toolchain
NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to 
increase performance.
NOTE: Handling BitBake files: - (4266/4266) [100 %]
NOTE: Parsing finished. 4083 cached, 0 parsed, 183 skipped, 0 masked.
NOTE: build 200703121121: started

OE Build Configuration:
BB_VERSION     = "1.7.999"
OE_REVISION    = "2e1d1df32e14f9dd87ba08d9fa77c9b537683276"
TARGET_ARCH    = "i586"
TARGET_OS      = "linux"
MACHINE        = "i586-OE-MACHINE"
DISTRO         = "generic"
DISTRO_VERSION = ".dev-snapshot-20070312"
TARGET_FPU     = ""


Machine file:

TARGET_ARCH = "i586"
TARGET_VENDOR = "-oe"

# stuff that I use for embedded development
BOOTSTRAP_EXTRA_DEPENDS = "udev mc lrzsz gdb ncurses pciutils"
BOOTSTRAP_EXTRA_RDEPENDS = "udev mc lrzsz gdbserver ncurses libstdc++ pciutils 
pciutils-ids"

udevdir = "/dev"

# we need to clear HOTPLUG because task-bootstrap puts in linux-hotplug 
otherwise
HOTPLUG = ""

IPKG_ARCHS = "all ${TARGET_ARCH} ${MACHINE}"

# substitute your own kernel here
PREFERRED_PROVIDER_virtual/kernel = "linux-x86"

#nptl, I prefer nptl over linuxthreads
GLIBC_ADDONS = "nptl"
GLIBC_EXTRA_OECONF = "--with-tls"





More information about the Openembedded-devel mailing list