[Buildroot] BuildRoot cannot build powerpc64

Khem Raj raj.khem at gmail.com
Thu Aug 18 21:19:43 UTC 2016


> On Aug 18, 2016, at 11:02 AM, Arnout Vandecappelle <arnout at mind.be> wrote:
> 
> On 17-08-16 19:37, Thomas Petazzoni wrote:
>> Hello,
>> 
>> On Wed, 17 Aug 2016 15:33:30 +0000, ANDY KENNEDY wrote:
>> 
>>> Our RFS we like to have static, so that we can throw libs into
>>> the system @ runtime without breaking our stable RFS.
>>> 
>>> Based upon your e-mail, I dropped into the uclibc dependencies
>>> || BR2_powerpc64, which made it selectable.  Problem is that
>>> it wouldn’t build.  My guess is that the T-series parts haven't
>>> been added to uClibC-ng yet, which is why it isn't selectable.
>>> 
>>> Thus, the answer to my question is "it is by design".
>> 
>> The only C library that supports PowerPC64 today is glibc.
>> 
>> But glibc does not support static linking.
>> 
>> Hence there is no solution to do a statically linked rootfs on
>> PowerPC64 today.
> 
> Perhaps we should remove the static/shared libs options to the toolchain menu,
> and make them depend on the libc choice rather than the other way round. That
> way, we're sure that we never run into such impossible situations.

static linking and dynamic linking needs to know if C library supports it
and architecture. It  should not be a toolchain option its a runtime env option
semantically.

> 
> Actually also some other options are more fitting in the toolchain menu IMHO,
> like debug/optimization options and SSP.

Those are also not toolchain related imo they are global in nature though

> 
> Regards,
> Arnout
> 
> 
> --
> 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:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20160818/7aac18ca/attachment-0001.asc>


More information about the buildroot mailing list