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

Leif Hedstrom resolved TS-1128.
-------------------------------

       Resolution: Invalid
    Fix Version/s:     (was: 3.3.3)

Is this still really an issue? Closing for now, reopen if still an issue.
                
> gcc don't like break strict-aliasing in I_ProxyAllocator.h
> ----------------------------------------------------------
>
>                 Key: TS-1128
>                 URL: https://issues.apache.org/jira/browse/TS-1128
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Cleanup
>    Affects Versions: 3.1.4
>            Reporter: Zhao Yongming
>            Priority: Minor
>
> {code}
> cc1plus: warnings being treated as errors
> ../../iocore/eventsystem/I_ProxyAllocator.h: In member function 'virtual 
> UnixNetVConnection* SSLNetAccept::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
> cc1plus: warnings being treated as errors
> ../../iocore/eventsystem/I_ProxyAllocator.h: In member function 'virtual 
> UnixNetVConnection* UnixNetProcessor::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
> ../../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
> cc1plus: warnings being treated as errors
> ../../iocore/eventsystem/I_ProxyAllocator.h: In member function 'virtual 
> UnixNetVConnection* NetAccept::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]: *** [SSLUnixNet.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: *** [UnixNetProcessor.o] Error 1
> mv -f .deps/NetVConnection.Tpo .deps/NetVConnection.Po
> mv -f .deps/Net.Tpo .deps/Net.Po
> mv -f .deps/UDPIOEvent.Tpo .deps/UDPIOEvent.Po
> make[2]: *** [UnixNetAccept.o] Error 1
> mv -f .deps/Connection.Tpo .deps/Connection.Po
> mv -f .deps/SSLCertLookup.Tpo .deps/SSLCertLookup.Po
> mv -f .deps/UnixConnection.Tpo .deps/UnixConnection.Po
> mv -f .deps/SSLConfig.Tpo .deps/SSLConfig.Po
> mv -f .deps/SSLNet.Tpo .deps/SSLNet.Po
> mv -f .deps/UnixNet.Tpo .deps/UnixNet.Po
> mv -f .deps/UnixNetPages.Tpo .deps/UnixNetPages.Po
> mv -f .deps/Socks.Tpo .deps/Socks.Po
> mv -f .deps/SSLNetVConnection.Tpo .deps/SSLNetVConnection.Po
> mv -f .deps/UnixNetVConnection.Tpo .deps/UnixNetVConnection.Po
> make[2]: Leaving directory 
> `/root/rpmbuild/BUILD/trafficserver-3.0.2/iocore/net'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/rpmbuild/BUILD/trafficserver-3.0.2/iocore'
> make: *** [all-recursive] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.VFqSxi (%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

Reply via email to