[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Missing Hardening Flags (freefem++)



On Sun, Jul 04, 2021 at 01:28:05PM +0200, François Mazen wrote:
> > Can you publish the build log or at least make the repo buildable?
> 
> Unless I'm mistaken, the repo is buildable. See salsa CI [1] and
> associated build-log [2].
Not sure how does that work, as gbp requires the upstream/4.9+dfsg.1 tag
which is not pushed.

Anyway, some (I guess all) of those libs are compiled with ff-c++ which
just doesn't pass LDFLAGS from the environment.
The sid version was at least compiled with -Wl,-z,relro -Wl,--as-needed,
because as, I presume, a workaround for that ff-c++ problem these flags
were passed in $CC (which of course is not *that* sane) in
debian/patches/gmm_cxxflags.patch, which is deleted in this version. 
Though even for the sid version blhc still reports lots of missing flags.

Unrelated to this, the package uses -mmmx -avx, is this an RC bug or is
all code compiled with those flags only enabled at the run time on CPUs
supporting them?

-- 
WBR, wRAR

Attachment: signature.asc
Description: PGP signature


Reply to: