Skip to contentSkip to conversation

Update of pre-built Buildroot toolchains

Buildroot Thomas Petazzoni 3 participants 4 messages Sep 21, 2016 – Oct 17, 2016

lore
Share & tools
lore
#0 lore raw

Hello,

I have just deployed a new set of pre-build Buildroot toolchains in the autobuilders. The toolchains have all been rebuilt as of commit 589cbc61b0913891fd00019365e52b9e50ff7250. Major changes are:

* Almost all toolchains have been switched to the default of gcc 5.x. There are still a few toolchains that intentionally use different gcc version: some using gcc 6.x, some using gcc 4.8.x.

* The ARC toolchain has been updated with the latest version of the ARC toolchain components.

* The Blackfin toolchain has the latest uClibc fix.

* The musl toolchains now have TLS enabled thanks to the rework of the TLS handling.

* The bleeding edge toolchain (br-arm-cortex-a9-glibc) has been updated to use binutils 2.27 and glibc 2.24. It continues to use gcc 6.x, of course.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#1 lore raw

Hi Thomas,

Quoted 6 lines · Thomas Petazzoni

Hello,

I have just deployed a new set of pre-build Buildroot toolchains in the autobuilders. The toolchains have all been rebuilt as of commit 589cbc61b0913891fd00019365e52b9e50ff7250. Major changes are:

Quoted 8 lines

* Almost all toolchains have been switched to the default of gcc 5.x. There are still a few toolchains that intentionally use different gcc version: some using gcc 6.x, some using gcc 4.8.x.

* The ARC toolchain has been updated with the latest version of the ARC toolchain components.

* The Blackfin toolchain has the latest uClibc fix.

It looks like bfin config on autobuilder is not updated to use new pre-build toolchain.

Regards,

Rahul

#3 lore raw
In reply to Thomas Petazzoni

[posted and mailed]

Thomas Petazzoni <[email protected]> wrote in news:20160921210722.1b078ab1 at free-electrons.com:

Quoted 9 lines

Hello,

I have just deployed a new set of pre-build Buildroot toolchains in the autobuilders. The toolchains have all been rebuilt as of commit 589cbc61b0913891fd00019365e52b9e50ff7250. Major changes are:

* Almost all toolchains have been switched to the default of gcc 5.x. There are still a few toolchains that intentionally use different gcc version: some using gcc 6.x, some using gcc 4.8.x.

Hi Thomas,

it seems to Cortex m4 toolchain is broken:

wget http://autobuild.buildroot.net/toolchains/configs/br-arm-cortex-m4-
full.config

make defconfig BR2_DEFCONFIG=br-arm-cortex-m4-full.config
make toolchain
output/host/usr/bin/arm-linux-gcc -v
[...] /home/buildroot/br6/output/host/usr/arm-buildroot-uclinux-uclibcgnueabi/sys root/usr/lib/crt1.o: In function _start': (.text+0x30): undefined reference to main' collect2: error: ld returned 1 exit status

This breaks the mplayer build
http://autobuild.buildroot.net/results/c1f/c1fcaa871c9c3ac52dc2060f71c34bd2
6b193323//
because mplayer extracts information about the compiler in use in mplayer-1.3.0/configure, line 1640 by executing gcc:

cc_name=$($_cc -V 2>&1 | head -n 1 | cut -d ',' -f 1)

For my host gcc this results in

$ gcc -v 2>&1 | tail -n 1 | cut -d ' ' -f 1
gcc

For the Cortex m4 toolchain this code fails to detect gcc

$ output/host/usr/bin/arm-linux-gcc -v 2>&1 | tail -n 1 | cut -d ' ' -f 1
collect2:

which breaks further gcc detection during mplayer configure by using the host gcc as cross-compiler.

Regards, Bernd

#2 lore raw
In reply to Rahul Bedarkar

Hello,

Quoted 11 lines · Rahul Bedarkar
Quoted 8 lines

* Almost all toolchains have been switched to the default of gcc 5.x. There are still a few toolchains that intentionally use different gcc version: some using gcc 6.x, some using gcc 4.8.x.

* The ARC toolchain has been updated with the latest version of the ARC toolchain components.

* The Blackfin toolchain has the latest uClibc fix.

It looks like bfin config on autobuilder is not updated to use new pre-build toolchain.

Indeed. I've updated all toolchains now, freshly rebuilt.

Thanks for reporting the issue!

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com