Re: RFC: -Wl,--as-needed by default

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

 



On Mon, Nov 13, 2017 at 7:21 AM, Michael Catanzaro
<mike.catanzaro@xxxxxxxxx> wrote:
> On Mon, Nov 13, 2017 at 5:06 AM, Daniel P. Berrange <berrange@xxxxxxxxxx>
> wrote:
>>
>> What % of our distro involves fortran though ? Could this be as simple as
>> enabling it by default, but having an easy way via an RPM macro to opt-out
>> of it in the handleful of packages that matter wrt fortran.
>
>
> If Debian/Ubuntu/openSUSE (didn't know about openSUSE) can all handle it,
> I'm sure Fedora can find a way.
>
> I'll just add: it's pretty annoying that, right now, when I touch linker
> flags, there's no easy way to know if my application will link or not on
> other distros, because Fedora is more permissive.
>

In Mageia, we have probably some of the strictest linker flags of all
the distributions (that I know of). Many applications that build or
link fine in Fedora need fixing in Mageia because we don't permit
underlinking[1] or overlinking[2], and we apply several fixers in
configure and brp scripts. We've also designed our flags setup so that
you can set a macro to override as needed, so for things like FORTRAN,
you can change this easily.

I'd like to see these make their way into Fedora.

[1]: https://wiki.mageia.org/en/Underlinking_issues_in_packaging
[2]: https://wiki.mageia.org/en/Overlinking_issues_in_packaging

-- 
真実はいつも一つ!/ Always, there's only one truth!
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux