pkgsrc-Bugs archive

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

Re: pkg/52275: devel/cmake does not compile on Solaris 11.3/sparc



The following reply was made to PR pkg/52275; it has been noted by GNATS.

From: Joerg Sonnenberger <joerg%bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/52275: devel/cmake does not compile on Solaris 11.3/sparc
Date: Tue, 6 Jun 2017 16:13:02 +0200

 On Tue, Jun 06, 2017 at 01:05:01PM +0000, Jörn Clausen wrote:
 >  >  Both are supposed to be provided by libstdc++.
 >  
 >  They are:
 >  
 >  i86:
 >  
 >  $ nm /opt/pkg-gcc/4.9.4/lib/amd64/libstdc++.so.6.0.20 | grep __cxa_throw_
 >  [4856]  |             1006048|                  50|FUNC |GLOB |0    |945 
 >      |__cxa_throw_bad_array_length
 >  [3970]  |             1005984|                  50|FUNC |GLOB |0    |944 
 >      |__cxa_throw_bad_array_new_length
 >  
 >  sparc:
 >  
 >  $ nm /opt/pkg-gcc/4.9.4/lib/sparcv9/libstdc++.so.6.0.20 | grep __cxa_throw_
 >  [3205]  |              901528|                  76|FUNC |GLOB |0    |927 
 >      |__cxa_throw_bad_array_length
 >  [6066]  |              901452|                  76|FUNC |GLOB |0    |926 
 >      |__cxa_throw_bad_array_new_length
 >  
 >  
 >  >  > This error boils down to the fact that libuv is not used by cmake on
 >  >  > sparc, but only on i86.
 >  >
 >  >  That shouldn't really matter.
 >  
 >  I extracted the command from the work.log, pasted it to the command 
 >  line, added the missing inclusion of libuv.so (essentially I used the 
 >  command found in the work.log of the i86 build), and I got a working 
 >  ccmake binary.
 
 What exactly is the build command? I wonder if it is picking up some
 outdated libstdc++ version...
 
 Joerg
 


Home | Main Index | Thread Index | Old Index