Wrong compiler configuration

Bug #1200443 reported by Nicolas Dechesne
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro OpenEmbedded
Confirmed
High
koen

Bug Description

The 4.7 linaro gcc cross compiler in OE / meta-linaro does not seem to be using the right configuration.

For example, it's missing the --with-arch=XXX option.

It is applicable to both dylan and master branch in meta-linaro

Fathi Boudra (fboudra)
Changed in linaro-oe:
status: New → Confirmed
importance: Undecided → High
milestone: none → 13.07
Fathi Boudra (fboudra)
Changed in linaro-oe:
milestone: 13.07 → 13.08
Fathi Boudra (fboudra)
Changed in linaro-oe:
milestone: 13.08 → 13.09
Fathi Boudra (fboudra)
Changed in linaro-oe:
milestone: 13.09 → 13.10
Fathi Boudra (fboudra)
Changed in linaro-oe:
milestone: 13.10 → 13.11
Fathi Boudra (fboudra)
Changed in linaro-oe:
milestone: 13.11 → 13.12
Fathi Boudra (fboudra)
Changed in linaro-oe:
milestone: 13.12 → 14.01
Revision history for this message
koen (koenkooi) wrote :

Do you mean -arch (single dash) or -march ?

Revision history for this message
Nicolas Dechesne (ndec) wrote :

what we had observed is that the Linaro gcc toolchain generated from OE (with meta-linaro) has different builtin options from the "official" binary release of gcc linaro.

e.g. if you built the OE gcc-linaro toolchain (either 4.7 with meta-linaro/dylan, or 4.8 with meta-linaro/dora), the following builtin are missing compared to the binary release:

$ /data/gcc-linaro/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf-gcc -v 2>&1 | tr ' ' '\n' | grep -e arch -e fpu
--with-arch=armv7-a
--with-fpu=vfpv3-d16

Granted that OE is expected to have some control about CFLAGS and typically adds the right option based on the DEFAULTUNE, however it is possible for 'corner case' recipe to unset these variables, and we ended up in such a corner case.

so can we make sure that OE toolchain default to the same 'builtin configuration' as the binary gcc linaro release?

thanks.

Fathi Boudra (fboudra)
Changed in linaro-oe:
milestone: 14.01 → 14.02
Fathi Boudra (fboudra)
Changed in linaro-oe:
assignee: nobody → koen (koenkooi)
milestone: 14.02 → 14.03
Fathi Boudra (fboudra)
Changed in linaro-oe:
milestone: 14.03 → 14.04
Revision history for this message
koen (koenkooi) wrote :

Where are the buildscripts for the linaro binary toolchain located?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.