Don't pass --build-id by default.
Hal Finkel via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 2 16:02:10 PDT 2016
----- Original Message -----
> From: "Rafael EspĂndola via cfe-commits" <cfe-commits at lists.llvm.org>
> To: "cfe-commits cfe" <cfe-commits at lists.llvm.org>
> Sent: Thursday, June 2, 2016 5:55:25 PM
> Subject: Don't pass --build-id by default.
>
> We do it just because gcc in some distributions do it.
>
> I can see why --build-id is useful for distributions, but given the
> cost on day to day edit+build cycles, any distro using clang should
> really just pass -Wl,--build-id in rpmbuild (or corresponding tool).
>
> Even upstream gcc is not as aggressive as current clang. It has a
> --enable-linker-build-id configure option and it defaults to false.
This is going to break a lot of my local rpm packaging scripts, and I suspect the same is true for others. This is not a huge deal, but I wonder if we should emulate GCC is this regard and provide some CMake option to keep the current behavior?
Thanks again,
Hal
>
> Cheers,
> Rafael
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
--
Hal Finkel
Assistant Computational Scientist
Leadership Computing Facility
Argonne National Laboratory
More information about the cfe-commits
mailing list