[ 
https://issues.apache.org/jira/browse/TS-868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Igor Galić resolved TS-868.
---------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.1

> Traffic Server fails to build with --Wl,--as-needed
> ---------------------------------------------------
>
>                 Key: TS-868
>                 URL: https://issues.apache.org/jira/browse/TS-868
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.0
>            Reporter: Arno Toell
>            Assignee: Igor Galić
>             Fix For: 3.1.0, 3.0.1
>
>
> As we discuessed before, ATS fails to build from source if --as-needed is 
> passed to the linking flags. This issue was originally reported by Ubuntu 
> folks in Debian and hereby forwarded by me. For reference, the issue in 
> Debian has been reported as 
> [#632546|http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632546].
> Note it is not enough to add this linking flag to _LDFLAGS_ as those are 
> honored too late. --as-needed only works if passed before every other 
> _-llibrary_ argument. 
> The reporter of the bug supplied a patch which fixes this issue for the 
> release tarball in 
> [as_needed.patch|http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=as-needed;att=1;bug=632546]
>  (credited to Ilya Barygin <bary...@gmail.com>) which, I can confirm, fixes 
> the issue for the release tarball. I haven't tried for the SVN trunk which 
> has not (yet) compiled the .in files from autoconf. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to