Re: linker problem "defined in discarded section"

2010-07-12 Thread Leif Hedstrom
On 07/12/2010 06:45 AM, Rob Maidment wrote: Ok, I'm making progress now. I noticed in the thread that Alan referred me to that someone had worked around the problem by disabling compiler optimisation. That worked for me too, although in fact all I needed to do was disable inline functions, i

RE: linker problem "defined in discarded section"

2010-07-12 Thread Rob Maidment
.1? Rob. -Original Message- From: Rob Maidment [mailto:rob.maidm...@clearswift.com] Sent: 12 July 2010 09:56 To: dev@trafficserver.apache.org Subject: RE: linker problem "defined in discarded section" Same problem with v2.1.1-unstabl

RE: linker problem "defined in discarded section"

2010-07-12 Thread Rob Maidment
Same problem with v2.1.1-unstable: `.gnu.linkonce.t._Z12Cluster_readP14ClusterMachineiP12ContinuationP9MIOBufferP3URLP7HTTPHdrP21CacheLookupHttpConfigP7INK_MD5l13CacheFragTypePci' referenced in section `.gnu.linkonce.r._Z12Cluster_readP14ClusterMachineiP12ContinuationP9MIOBufferP3URLP7HTTPHdrP21

Re: linker problem "defined in discarded section"

2010-07-09 Thread Alan M. Carroll
It looks like it might be related to this gcc bug which is marked resolved/fixed. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16625 which has a duplicate http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16849 that was reported against gcc 4.0.0. I can't find any more recent reference though. Frid

Re: linker problem "defined in discarded section"

2010-07-09 Thread Leif Hedstrom
On 07/09/2010 10:04 AM, Rob Maidment wrote: Hello all, I hope someone can help. I'm having problems building traffic server 2.0.0: Weird. Any chance you can try one of the "dev" releases, either "trunk" from SVN, or v2.1.1 from the dist server? Links to the latter is on http://traf