[Buildroot] [PATCH] glibc: remove version choice

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Jun 10 11:33:53 UTC 2017


Hello,

On Sat, 10 Jun 2017 11:19:32 +0200, Arnout Vandecappelle wrote:

>  I think there is in fact more reason to have multiple versions for uClibc-ng
> than for glibc. Multiple versions are useful in any situation when there are ABI
> changes in the newer version so that binaries linked with the older version no
> longer work. glibc is very careful about ABI changes, uClibc-ng somewhat less so.
> 
>  So yes, I'm in favour of removing this version choice. Also for binutils, by
> the way. Yes, there may be regressions, but then those should be fixed, not
> swept under the carpet for some time until the new version becomes the default.
> 
>  GCC is different, because newer GCC versions do break compatibility with older
> libraries, and they do break existing (badly written) source code. In that sense
> I think it was a bad idea to remove GCC 4.9, because GCC 5 did break binary
> compatibility for C++... But I wasn't here at the time and that ship has sailed now.

I haven't merged https://patchwork.ozlabs.org/patch/767087/, so gcc 4.9
is still there:

$ grep 4_9_X package/gcc/Config.in.host 
config BR2_GCC_VERSION_4_9_X
	default "4.9.4"     if BR2_GCC_VERSION_4_9_X

I was waiting for feedback (such as yours) before merging this patch.

Best regards,

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



More information about the buildroot mailing list