[Buildroot] [PATCH] package/gcc: add support for gcc 8.1
Romain Naour
romain.naour at gmail.com
Mon May 21 16:42:48 UTC 2018
Thomas,
Le 21/05/2018 à 17:45, Romain Naour a écrit :
> Hi Thomas,
>
> Le 20/05/2018 à 12:45, Thomas Petazzoni a écrit :
>> Hello Romain,
>>
>> Thanks for working on this!
>>
>> On Sat, 5 May 2018 12:58:44 +0200, Romain Naour wrote:
>>> Remove 0860-cilk-fix-build-without-wchar.patch since cilk has
>>> been removed from gcc.
>>>
>>> Rebase 0900-remove-selftests.patch on gcc 8.1.0
>>>
>>> Remove upstream patches 0001-m68k-coldfire-pr68467.patch and
>>> 0892-microblaze-Revert.patch.
>>>
>>> Use bz2 release tarball only for gcc 4.9 since all other version
>>> now use xz tarball.
>>>
>>> Runtime tested on x86_64 with binutils 2.30, gcc 8.1.0,
>>> kernel headers 4.14 and glibc 2.27.
>>>
>>> Buildtime tested with glibc with all supported architectures.
>>>
>>> Buildtime tested on x86_64 with musl and uClibc-ng
>>>
>>> Signed-off-by: Romain Naour <romain.naour at gmail.com>
>>> Cc: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
>>> ---
>>> package/gcc/8.1.0/0001-uclibc-conf.patch | 29 ++++
>>> package/gcc/8.1.0/0002-arm-softfloat-libgcc.patch | 45 +++++++
Btw, why we still need these two patches?
It seems that they are in the gcc package since gcc 4.2.4 (i.e ten years)
For 0001-uclibc-conf.patch, why we need to add a new case for
i686-pc-linux-uclibc? what's about other target and libc (musl)?
I believe this can be removed.
0002-arm-softfloat-libgcc.patch was added in 2007 [1] for gcc 4.1.2.
I believe arm soft-float should work out of the box now.
Best regards,
Romain
[1]
https://git.buildroot.net/buildroot/commit/?id=b2683e4d2c59cb3e8a5fe0e2500ac6625e8f60bf
More information about the buildroot
mailing list