Reduce toolchain options
Hi.
How about we kill non-lfs and non-ipv6 toolchains? It's 2015 after all, and the size delta is minor:
tar file delta, arm926 uclibc+busybox
=====================================
Threading (NPTL) +153600 bytes Largefile +20480 bytes IPv6 +10240 bytes RPC +61440 bytes WCHAR +30720 bytes
Benefits:
* Less toolchain options to test/care for in packages
* More bang for the buck for autobuilders with less combinations to test
Even though the size delta would be somewhat more (tiny though) when adding packages/libraries that's generally offset by the added size of said packages.
The only downside i can think of is badly designed packages that won't work well on a non-ipv6 linux kernel. These should be very few, if any.
LFS is a no brainer IMO.
Regards.
Quoted 18 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> writes:
Hi.
How about we kill non-lfs and non-ipv6 toolchains? It's 2015 after all, and the size delta is minor:tar file delta, arm926 uclibc+busybox
=====================================Threading (NPTL) +153600 bytes Largefile +20480 bytes IPv6 +10240 bytes RPC +61440 bytes WCHAR +30720 bytesBenefits:
* Less toolchain options to test/care for in packages
* More bang for the buck for autobuilders with less combinations to test
Quoted 8 lines
Even though the size delta would be somewhat more (tiny though) when adding packages/libraries that's generally offset by the added size of said packages.
The only downside i can think of is badly designed packages that won't work well on a non-ipv6 linux kernel. These should be very few, if any.
LFS is a no brainer IMO.
Yes, I agree.
I'm also somewhat scared of forcing IPv6 support but perhaps it will be safe, people using !uClibc have probably noticed these issues already.
Signature · 1 line
Bye, Peter Korsgaard
Quoted 4 lines · Peter Korsgaard
Yes, I agree.
I'm also somewhat scared of forcing IPv6 support but perhaps it will be safe, people using !uClibc have probably noticed these issues already.
I've found one downside of dropping non-IPv6: the codesourcery SH2A toolchains lack IPv6 support :-(
We can still kill the LFS option though.
Regards.
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> writes:
Quoted 4 lines · Peter Korsgaard
Yes, I agree.
I'm also somewhat scared of forcing IPv6 support but perhaps it will be safe, people using !uClibc have probably noticed these issues already.
I've found one downside of dropping non-IPv6: the codesourcery SH2A toolchains lack IPv6 support :-(
Ahh, that might indeed be a problem for external uClibc based toolchains.
Quoted 1 line
We can still kill the LFS option though.
Yeah.
Signature · 1 line
Bye, Peter Korsgaard
Dear Gustavo Zacarias,
Quoted 2 lines · Gustavo Zacarias
I've found one downside of dropping non-IPv6: the codesourcery SH2A toolchains lack IPv6 support :-(
As you say, it's 2015, so maybe we should just drop this toolchain. Or at least deprecate it now so that we can get rid of it in the future.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Quoted 2 lines · Thomas Petazzoni
As you say, it's 2015, so maybe we should just drop this toolchain. Or at least deprecate it now so that we can get rid of it in the future.
I've considered that, but then recalled our internal SH toolchains aren't up to snuff.
On the other hand it's a nommu sh target, how many people use this? Regards.
Dear Gustavo Zacarias,
Quoted 1 line · Gustavo Zacarias
How about we kill non-lfs and non-ipv6 toolchains?
I fully support this idea.
Quoted 5 lines
It's 2015 after all, and the size delta is minor:
tar file delta, arm926 uclibc+busybox
=====================================
Threading (NPTL) +153600 bytes
Ah, too bad. I was hoping to also suggest to remove the no-thread solution. The number of packages that need threads these days is really enormous, and I'm not really sure in practice how many people are doing no-thread based systems.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Hi,
Quoted 10 lines
Quoted 5 lines
It's 2015 after all, and the size delta is minor:
tar file delta, arm926 uclibc+busybox
=====================================
Threading (NPTL) +153600 bytesAh, too bad. I was hoping to also suggest to remove the no-thread solution. The number of packages that need threads these days is really enormous, and I'm not really sure in practice how many people are doing no-thread based systems.
Yeah, it is potentially useful for tiny initramfs'es with only busybox and similar stuff, but not for anything bigger.
Signature · 1 line
Bye, Peter Korsgaard
Quoted 2 lines · Peter Korsgaard
Yeah, it is potentially useful for tiny initramfs'es with only busybox and similar stuff, but not for anything bigger.
I'll cook the non-LFS killer patchset and send it and wait for opinions on the others.
Regarding toolchains i'll keep the check for external ones to avoid noise when an improper one is used.
Regards.
Quoted 10 lines · Thomas Petazzoni
Quoted 5 lines
It's 2015 after all, and the size delta is minor:
tar file delta, arm926 uclibc+busybox
=====================================
Threading (NPTL) +153600 bytesAh, too bad. I was hoping to also suggest to remove the no-thread solution. The number of packages that need threads these days is really enormous, and I'm not really sure in practice how many people are doing no-thread based systems.
I posted the numbers to get some opinions on the others. Locale is potentially big because of all the message translations so i didn't even size it.
Regards.
Quoted 3 lines · Gustavo Zacarias
Hi.
How about we kill non-lfs and non-ipv6 toolchains?
Sounds like a good idea!
Quoted 9 lines
It's 2015 after all, and the size delta is minor:
tar file delta, arm926 uclibc+busybox
=====================================Threading (NPTL) +153600 bytes Largefile +20480 bytes IPv6 +10240 bytes RPC +61440 bytes WCHAR +30720 bytes
Could you calculate this with STATIC and thumb and also report the baseline?
IIRC a minimal statically linked busybox was only about 200K so the 20K largefile is borderline significant...
Regards,
Arnout
Quoted 21 lines
Benefits:
* Less toolchain options to test/care for in packages
* More bang for the buck for autobuilders with less combinations to testEven though the size delta would be somewhat more (tiny though) when adding packages/libraries that's generally offset by the added size of said packages.
The only downside i can think of is badly designed packages that won't work well on a non-ipv6 linux kernel. These should be very few, if any.
LFS is a no brainer IMO.
Regards.
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
Quoted 3 lines · Arnout Vandecappelle
Could you calculate this with STATIC and thumb and also report the baseline?
IIRC a minimal statically linked busybox was only about 200K so the 20K largefile is borderline significant...
Default busybox config arm926 thumb1 static (no threads):
LFS = 576212 bytes
non-LFS = 571156 bytes
Delta = 5056 bytes.
Regards.