Skip to contentSkip to conversation

GCC 4.6.0?

DISCUSSION Gary Thomas 1 participant 2 messages Apr 28, 2011

lore
Share & tools
lore
#0 lore raw

I see that the Poky master (3279737cdf164962b0121bd850634cb05a616f15) now has recipes for GCC 4.6.0, so I thought I'd try it on my OMAP/3530

Sadly, it failed:

| checking if ccache arm-poky-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-tree-vectorize --sysroot=/home/local/p60_poky/tmp/sysroots/cobra3530p60 supports -fno-rtti -fno-exceptions... no
| checking for ccache arm-poky-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-tree-vectorize --sysroot=/home/local/p60_poky/tmp/sysroots/cobra3530p60 option to produce PIC... -fPIC -DPIC
| checking if ccache arm-poky-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-tree-vectorize --sysroot=/home/local/p60_poky/tmp/sysroots/cobra3530p60 PIC flag -fPIC -DPIC works... yes
| checking if ccache arm-poky-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-tree-vectorize --sysroot=/home/local/p60_poky/tmp/sysroots/cobra3530p60 static flag -static works... no
| checking if ccache arm-poky-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-tree-vectorize --sysroot=/home/local/p60_poky/tmp/sysroots/cobra3530p60 supports -c -o file.o... yes
| checking if ccache arm-poky-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-tree-vectorize --sysroot=/home/local/p60_poky/tmp/sysroots/cobra3530p60 supports -c -o file.o... (cached) yes
| checking whether the ccache arm-poky-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-tree-vectorize --sysroot=/home/local/p60_poky/tmp/sysroots/cobra3530p60 linker (arm-poky-linux-gnueabi-ld --sysroot=/home/local/p60_poky/tmp/sysroots/cobra3530p60) supports shared libraries... yes
| checking whether -lc should be explicitly linked in... no
| checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
| ERROR: Function 'do_configure' failed (see /home/local/p60_poky/tmp/work/armv7a-poky-linux-gnueabi/gcc-runtime-4.6.0-r0/temp/log.do_configure.6331 for further information)

NOTE: package gcc-runtime-4.6.0-r0: task do_configure: Failed
ERROR: Task 458 (/home/local/poky-amltd/meta/recipes-devtools/gcc/gcc-runtime_4.6.0.bb, do_configure) failed with exit code '1'

Should this work? Has it been tested on ARM targets? Maybe I missed something else?

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw
Quoted 18 lines · Gary Thomas

I see that the Poky master (3279737cdf164962b0121bd850634cb05a616f15) now has recipes for GCC 4.6.0, so I thought I'd try it on my OMAP/3530

Sadly, it failed:
| checking if ccache arm-poky-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-tree-vectorize --sysroot=/home/local/p60_poky/tmp/sysroots/cobra3530p60 supports -fno-rtti -fno-exceptions... no
| checking for ccache arm-poky-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-tree-vectorize --sysroot=/home/local/p60_poky/tmp/sysroots/cobra3530p60 option to produce PIC... -fPIC -DPIC
| checking if ccache arm-poky-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-tree-vectorize --sysroot=/home/local/p60_poky/tmp/sysroots/cobra3530p60 PIC flag -fPIC -DPIC works... yes
| checking if ccache arm-poky-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-tree-vectorize --sysroot=/home/local/p60_poky/tmp/sysroots/cobra3530p60 static flag -static works... no
| checking if ccache arm-poky-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-tree-vectorize --sysroot=/home/local/p60_poky/tmp/sysroots/cobra3530p60 supports -c -o file.o... yes
| checking if ccache arm-poky-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-tree-vectorize --sysroot=/home/local/p60_poky/tmp/sysroots/cobra3530p60 supports -c -o file.o... (cached) yes
| checking whether the ccache arm-poky-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-tree-vectorize --sysroot=/home/local/p60_poky/tmp/sysroots/cobra3530p60 linker (arm-poky-linux-gnueabi-ld --sysroot=/home/local/p60_poky/tmp/sysroots/cobra3530p60) supports shared libraries... yes

Quoted 9 lines
| checking whether -lc should be explicitly linked in... no
| checking dynamic linker characteristics... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
| ERROR: Function 'do_configure' failed (see /home/local/p60_poky/tmp/work/armv7a-poky-linux-gnueabi/gcc-runtime-4.6.0-r0/temp/log.do_configure.6331 for further information)

NOTE: package gcc-runtime-4.6.0-r0: task do_configure: Failed
ERROR: Task 458 (/home/local/poky-amltd/meta/recipes-devtools/gcc/gcc-runtime_4.6.0.bb, do_configure) failed with exit code '1'

Should this work? Has it been tested on ARM targets? Maybe I missed something else?

Note: this was in an extant build. I just tried it in a fresh tree and it seems to be working better now.

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------