You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2013/03/31 16:15:15 UTC

[jira] [Commented] (TS-1317) fail to build rpm with --enable-debug

    [ https://issues.apache.org/jira/browse/TS-1317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13618336#comment-13618336 ] 

Leif Hedstrom commented on TS-1317:
-----------------------------------

But this is because you compile without -fno-strict-aliasing. This is not supported afaik, i.e. see TS-378, TS-302 and TS-837 (which is an exact duplicate of this).

I'm going to close this again ;).
                
> fail to build rpm with --enable-debug
> -------------------------------------
>
>                 Key: TS-1317
>                 URL: https://issues.apache.org/jira/browse/TS-1317
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.3.0, 3.2.0
>            Reporter: Zhao Yongming
>
> {code}
> cc1plus: warnings being treated as errors
> ../../iocore/eventsystem/I_ProxyAllocator.h: In member function 'virtual UnixNetVConnection* SSLNetProcessor::allocateThread(EThread*)':
> ../../iocore/eventsystem/I_ProxyAllocator.h:54: error: dereferencing pointer '<anonymous>' does break strict-aliasing rules
> ../../iocore/eventsystem/I_ProxyAllocator.h:54: note: initialized from here
> make[2]: *** [SSLNetProcessor.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory `/home/yonghao/rpmbuild/BUILD/trafficserver-3.2.0/iocore/net'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/yonghao/rpmbuild/BUILD/trafficserver-3.2.0/iocore'
> make: *** [all-recursive] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.Lm4CVz (%build)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira