[patch] test-in-container: fix Arch Linux build-programs bug?
Eli Schwartz
eschwartz@archlinux.org
Mon Aug 27 15:18:00 GMT 2018
> Turns out Arch Linux uses the build-programs variable to build
> different parts of glibc with different flags; but setting
> build-programs to "no" also disables the default rules for programs,
> leading to makefile-related errors elsewhere.
Thanks for figuring out my issue, this patch works for me. :)
In case anyone's interested, this is how we do the build:
https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/glibc&id=45447dc6eaa2d53b452df96ec041c5b5f4977b6c#n84
Given that it's an officially supported build option permutation, it
might be worth adding some variations like this (especially for
something that changes how the makefiles operate in general) to e.g.
build-many-glibcs.py, and having this automatically get tested by some
continuous integration buildbot. (I have no idea how glibc organizes
this stuff in general, whether developers run smoketests on their own
computer or if there's some resource to do it without babysitting.)
...
Also repeating for permanent record what was said on IRC, given the use
case of disabling fortify for the libraries, maybe someone with more
knowledge of glibc than me, could write a patch for something like
--with-nonshared-cflags=CFLAGS
except for non-libraries.
--
Eli Schwartz
Bug Wrangler and Trusted User
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20180827/52531cef/attachment.sig>
More information about the Libc-alpha
mailing list