Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to compile Angstrom for Beaglebone due to unrecognized asm option --32 #39

Open
ursusm opened this issue Jul 4, 2014 · 0 comments

Comments

@ursusm
Copy link

ursusm commented Jul 4, 2014

Compiling on Ubuntu 12.04 LTS.
Compiling for Beaglebone
Followed the exact steps shown on the root distribution page.
I get the same result for MACHINE=beaglebone or beagleboard.
Below is the full console output from the command.
Sorry if this is excessive.

ursus >> MACHINE=beaglebone bitbake virtual/kernel
NOTE: Started PRServer with DBfile: /home/ursus/beaglebone/setup-scripts/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 39460, PID: 11997
Loading cache: 100% |###########################################################################################################################################################################| ETA: 00:00:00
Loaded 3673 entries from dependency cache.
Parsing recipes: 100% |#########################################################################################################################################################################| Time: 00:00:01
Parsing of 3172 .bb files complete (3171 cached, 1 parsed). 3673 targets, 194 skipped, 2 masked, 0 errors.
WARNING: No recipes available for:
/home/ursus/beaglebone/setup-scripts/sources/meta-ros/recipes-support/boost/boost_%.bbappend
WARNING: No bb files matched BBFILE_PATTERN_meta-dominion '^/home/ursus/beaglebone/setup-scripts/sources/meta-dominion/'
WARNING: No bb files matched BBFILE_PATTERN_meta-beagleboard-extras '^/home/ursus/beaglebone/setup-scripts/sources/meta-beagleboard/meta-beagleboard-extras/'
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.20.0"
BUILD_SYS = "i686-linux"
NATIVELSBSTRING = "Ubuntu-12.04"
TARGET_SYS = "arm-angstrom-linux-gnueabi"
MACHINE = "beaglebone"
DISTRO = "angstrom"
DISTRO_VERSION = "v2013.12"
TUNE_FEATURES = "armv7a vfp thumb neon callconvention-hard"
TARGET_FPU = "vfp-neon"
meta-angstrom = "angstrom-v2013.12-yocto1.5:3e35ecfbe648567166d91a9dbb7f6f62fe2e14e6"
meta-oe
meta-efl
meta-gpe
meta-gnome
meta-xfce
meta-initramfs
toolchain-layer
meta-multimedia
meta-networking
meta-webserver
meta-ruby
meta-filesystems
meta-perl = "angstrom-staging-yocto1.5:e54821f51b49c27a01f40c7a340d1262dcbb32d5"
meta-kde = "master:f45abfd4d87b0132a2565499392d2d49f465d847"
meta-opie = "master:b241408b31c2ffd941b8b38bd385136ef675a703"
meta-java = "dora:d86d17c9d13d1117b484cb36f884709ce585a3e0"
meta-browser = "master:fc3969f63bda343c38c40a23f746c560c4735f3e"
meta-mono = "master:ac286b1682e6bcc486ceb30ef90a936949bbfeab"
meta-qt5 = "dora:5b5616b63bdf163ea3eb2ca8857c56a393435fe3"
meta-systemd = "angstrom-staging-yocto1.5:e54821f51b49c27a01f40c7a340d1262dcbb32d5"
meta-ros = "master:64c8b5edb221263e7fac7c03629c730ade422dff"
meta-beagleboard-extras = "dora:07fefaa86b118c1aa81f40d1658a17e41bbf1190"
meta-uav = "master:0ad6d047d81b94a8b5f71e6bb4625e5b1210cb66"
meta-telephony = "master:f71f5ea031d96a5a84bde4531974542ae49f8bee"
meta-qt5 = "dora:5b5616b63bdf163ea3eb2ca8857c56a393435fe3"
common-bsp = "dora:07fefaa86b118c1aa81f40d1658a17e41bbf1190"
meta-ti = "angstrom-staging-yocto1.5:a05532600ea769c0349e526e024304f50c1fdf8c"
meta-fsl-arm = "angstrom-staging-yocto1.5:48b91b77e9e37eea88637fe403d0a6b0f35dbee9"
meta-fsl-arm-extra = "dora:375f89b70655be2a17bbde36de6adb4e4a5a6975"
meta-nslu2 = "master:bdcb4297ddb22f4eecddd4d8436cf9b6c6111922"
meta-htc
meta-nokia
meta-openmoko
meta-palm = "master:537d0c2ab41284012e1ba79716b085a861a6812a"
meta-handheld = "master:5b5e68a93aae1016f5ac1d057a721b2dbf30b8d8"
meta-intel
meta-sugarbay
meta-crownbay
meta-emenlow
meta-fri2
meta-jasperforest
meta-n450 = "dora:7203d4de60f69190b5eae308ed2d09edbc63ea1f"
meta-sunxi = "master:f1e777d5526ea7c7a4f3a828b21d26c2c0650b83"
meta-raspberrypi = "dora:1c696a95f16337e4168a045479a386194d32e18f"
meta-minnow = "dora:9aa60d0eaf03fe30670acf581eaf7e57c76b5f99"
meta-dominion = "master:f9ae1a29f166ab2bb7aadd1c1899a392934eeba0"
meta-atmel = "angstromv2013.12-staging:2e67a125dd772d6b4a531a023730dc0018996bc7"
meta-exynos = "master:d7af02511e5cd477cfccd82b2f47bdd75ebea793"
meta-linaro
meta-linaro-toolchain = "dora:503b1fe68f90a8e2b43c456ddd17a0a90816cf9c"
meta-beagleboard-extras = "dora:07fefaa86b118c1aa81f40d1658a17e41bbf1190"
meta = "angstrom-staging-yocto1.5:454f2a1dfdd5469be5c9180d969f09a39bc08986"

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_compile (log file is located at /home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc-cross-initial/linaro-4.8-r2013.12/temp/log.do_compile.12338)
ERROR: Logfile of failure stored in: /home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc-cross-initial/linaro-4.8-r2013.12/temp/log.do_compile.12338
Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i686-linux', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j2 ARCH_FLAGS_FOR_TARGET= -march=armv7-a -mthumb -mthumb-interwork -mfloat-abi=hard -mfpu=neon -isystem/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/sysroots/beaglebone/usr/include all-gcc all-target-libgcc
| make[1]: Entering directory /home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc-cross-initial/linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/build.i686-linux.arm-angstrom-linux-gnueabi/libiberty' | make[1]: Entering directory/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc-cross-initial/linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/build.i686-linux.arm-angstrom-linux-gnueabi/intl'
| make[1]: Nothing to be done for all'. | make[1]: Leaving directory/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc-cross-initial/linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/build.i686-linux.arm-angstrom-linux-gnueabi/intl'
| make[2]: Entering directory /home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc-cross-initial/linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/build.i686-linux.arm-angstrom-linux-gnueabi/libiberty/testsuite' | make[2]: Nothing to be done forall'.
| make[2]: Leaving directory /home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc-cross-initial/linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/build.i686-linux.arm-angstrom-linux-gnueabi/libiberty/testsuite' | make[1]: Leaving directory/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc-cross-initial/linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/build.i686-linux.arm-angstrom-linux-gnueabi/libiberty'
| make[1]: Entering directory /home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc-cross-initial/linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/build.i686-linux.arm-angstrom-linux-gnueabi/build-i686-linux/libiberty' | make[1]: Entering directory/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc-cross-initial/linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/build.i686-linux.arm-angstrom-linux-gnueabi/libbacktrace'
| make all-am
| make[2]: Entering directory /home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc-cross-initial/linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/build.i686-linux.arm-angstrom-linux-gnueabi/libbacktrace' | true DO=all multi-do # make | make[2]: Leaving directory/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc-cross-initial/linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/build.i686-linux.arm-angstrom-linux-gnueabi/libbacktrace'
| make[1]: Leaving directory /home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc-cross-initial/linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/build.i686-linux.arm-angstrom-linux-gnueabi/libbacktrace' | make[2]: Entering directory/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc-cross-initial/linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/build.i686-linux.arm-angstrom-linux-gnueabi/build-i686-linux/libiberty/testsuite'
| make[2]: Nothing to be done for all'. | make[2]: Leaving directory/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc-cross-initial/linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/build.i686-linux.arm-angstrom-linux-gnueabi/build-i686-linux/libiberty/testsuite'
| make[1]: Leaving directory /home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc-cross-initial/linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/build.i686-linux.arm-angstrom-linux-gnueabi/build-i686-linux/libiberty' | make[1]: Entering directory/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc-cross-initial/linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/build.i686-linux.arm-angstrom-linux-gnueabi/libdecnumber'
| make[1]: Nothing to be done for all'. | make[1]: Leaving directory/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc-cross-initial/linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/build.i686-linux.arm-angstrom-linux-gnueabi/libdecnumber'
| make[1]: Entering directory /home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc-cross-initial/linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/build.i686-linux.arm-angstrom-linux-gnueabi/fixincludes' | make[1]: Nothing to be done forall'.
| make[1]: Leaving directory /home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc-cross-initial/linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/build.i686-linux.arm-angstrom-linux-gnueabi/fixincludes' | make[1]: Entering directory/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc-cross-initial/linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/build.i686-linux.arm-angstrom-linux-gnueabi/build-i686-linux/fixincludes'
| make[1]: Nothing to be done for all'. | make[1]: Leaving directory/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc-cross-initial/linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/build.i686-linux.arm-angstrom-linux-gnueabi/build-i686-linux/fixincludes'
| make[1]: Entering directory /home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc-cross-initial/linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/build.i686-linux.arm-angstrom-linux-gnueabi/libcpp' | test -f config.h || (rm -f stamp-h1 && make stamp-h1) | make[1]: Leaving directory/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc-cross-initial/linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/build.i686-linux.arm-angstrom-linux-gnueabi/libcpp'
| make[1]: Entering directory /home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc-cross-initial/linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/build.i686-linux.arm-angstrom-linux-gnueabi/gcc' | g++ -c -isystem/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/sysroots/i686-linux/usr/include -O2 -pipe -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work-shared/gcc-linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/gcc -I/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work-shared/gcc-linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/gcc/build -I/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work-shared/gcc-linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/gcc/../include -I/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work-shared/gcc-linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/gcc/../libcpp/include -I/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work-shared/gcc-linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/gcc/../libdecnumber -I/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work-shared/gcc-linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work-shared/gcc-linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/gcc/../libbacktrace \ | -o build/genconstants.o /home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work-shared/gcc-linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/gcc/genconstants.c | g++ -c -isystem/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/sysroots/i686-linux/usr/include -O2 -pipe -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work-shared/gcc-linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/gcc -I/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work-shared/gcc-linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/gcc/build -I/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work-shared/gcc-linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/gcc/../include -I/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work-shared/gcc-linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/gcc/../libcpp/include -I/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work-shared/gcc-linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/gcc/../libdecnumber -I/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work-shared/gcc-linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/gcc/../libdecnumber/dpd -I../libdecnumber -I/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work-shared/gcc-linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/gcc/../libbacktrace \ | -o build/read-md.o /home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work-shared/gcc-linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/gcc/read-md.c | /home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/sysroots/i686-linux/usr/bin/armv7ahf-vfp-neon-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi-as: unrecognized option '--32' | /home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/sysroots/i686-linux/usr/bin/armv7ahf-vfp-neon-angstrom-linux-gnueabi/arm-angstrom-linux-gnueabi-as: unrecognized option '--32' | make[1]: *** [build/genconstants.o] Error 2 | make[1]: *** Waiting for unfinished jobs.... | make[1]: *** [build/read-md.o] Error 2 | make[1]: Leaving directory/home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc-cross-initial/linaro-4.8-r2013.12/gcc-linaro-4.8-2013.12/build.i686-linux.arm-angstrom-linux-gnueabi/gcc'
| make: *** [all-gcc] Error 2
| ERROR: oe_runmake failed
| WARNING: /home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc-cross-initial/linaro-4.8-r2013.12/temp/run.do_compile.12338:1 exit 1 from
| exit 1
| ERROR: Function failed: do_compile (log file is located at /home/ursus/beaglebone/setup-scripts/build/tmp-angstrom_v2013_12-eglibc/work/armv7ahf-vfp-neon-angstrom-linux-gnueabi/gcc-cross-initial/linaro-4.8-r2013.12/temp/log.do_compile.12338)
ERROR: Task 653 (/home/ursus/beaglebone/setup-scripts/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/gcc/gcc-cross-initial_linaro-4.8.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 351 tasks of which 348 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
/home/ursus/beaglebone/setup-scripts/sources/meta-linaro/meta-linaro-toolchain/recipes-devtools/gcc/gcc-cross-initial_linaro-4.8.bb, do_compile
Summary: There were 3 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant