Build failure on macOS 10.15
julien at trigofacile.com
Mon Nov 30 20:44:23 UTC 2020
>> Couldn't we have linkers that do not know how to link PIE executables?
>> The compiler would support PIE but the linker would not, so we would not
>> want to have CFLAGS with -fPIE if RRA_PROG_LD_FLAG([-pie]) failed.
>> That's why I thought setting both CFLAGS and LDFLAGS at the same time
>> would be better to handle that case (which maybe does not exist in
> Oh, I see, and it's otherwise a bit awkward because you have to write:
> CFLAGS="$CFLAGS -fPIE"
> [LDFLAGS="$LDFLAGS -pie"],
> That said, I haven't seen that combination, and I also don't think it's
> harmful to have the compiler generate PIE code even if the linker doesn't
> create PIE executables. (There's a minor performance penalty, but I'm not
> sure it's worth worrying about for this edge case.)
All right, adopted then!
« Avec toutes les saletés que les gens jettent dans le fleuve, il n'y a
plus de poissons ! Tout ce que je pêche depuis ce matin sont des
amphores vides ! » (Astérix)
More information about the inn-workers