pkgsrc-Bugs archive

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

Re: pkg/40652



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

From: Yuji Yamano <yyamano%kt.rim.or.jp@localhost>
To: harenberg%physik.uni-wuppertal.de@localhost
Cc: gnats-bugs%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
pkgsrc-bugs%netbsd.org@localhost,
 yyamano%netbsd.org@localhost
Subject: Re: pkg/40652
Date: Mon, 24 Aug 2009 19:26:26 -0700 (PDT)

 On Thu, 20 Aug 2009 09:50:10 +0200, Torsten Harenberg 
<harenberg%physik.uni-wuppertal.de@localhost> wrote:
 
 > Do you use an in-tree compiler or the default from Apple's XCode?
 
 Mine is Apple's one too, but not the latest.
 
 % gcc -v
 Using built-in specs.
 Target: i686-apple-darwin9
 Configured with: /var/tmp/gcc/gcc-5490~1/src/configure --disable-checking 
-enable-werror --prefix=/usr --mandir=/share/man 
--enable-languages=c,objc,c++,obj-c++ 
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ 
--with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib 
--build=i686-apple-darwin9 --with-arch=apple --with-tune=generic 
--host=i686-apple-darwin9 --target=i686-apple-darwin9
 Thread model: posix
 gcc version 4.0.1 (Apple Inc. build 5490)
 
 > gcc: 4: No such file or directory
 > gcc: 4.0: No such file or directory
 > gcc: unrecognized option '-u'
 > *** Error code 1
 
 > I attached my .work.log (gzip'ed as it would be very large otherwise).
 
 [*] /Volumes/dump/pkgsrc/math/lapack/work/.wrapper/bin/f77 
/Volumes/dump/pkgsrc/math/lapack/work/.wrapper/bin/f77 -dynamiclib 
-Wl,-flat_namespace -Wl,-undefined -Wl,suppress -o 
../.libs/liblapack.3.0.0.dylib
 [snip]
 <.> /Volumes/dump/pkgsrc/math/lapack/work/.f2c/bin/f77 -dynamiclib 
-Wl,-flat_namespace -Wl,-undefined -Wl,suppress -o 
../.libs/liblapack.3.0.0.dylib
 [snip]
 -install_name /Volumes/dump/pkg/lib/liblapack.3.dylib -compatibility_version 4 
-current_version 4.0 -Wl,-single_module 
-I/Volumes/dump/pkgsrc/math/lapack/work/.buildlink/include 
 [snip]
 [*] /Volumes/dump/pkgsrc/math/lapack/work/.wrapper/bin/gcc 
/Volumes/dump/pkgsrc/math/lapack/work/.wrapper/bin/gcc 
-I/Volumes/dump/pkg/include -dynamiclib -Wl,-flat_namespace -Wl,-undefined 
-Wl,suppress -install_name -compatibility_version -current_version 
-Wl,-single_module -I/Volumes/dump/pkgsrc/math/lapack/work/.buildlink/include 
-o ../.libs/liblapack.3.0.0.dylib
 [snip]
 /Volumes/dump/pkg/lib/liblapack.3.dylib 4 4.0 
-L/Volumes/dump/pkgsrc/math/lapack/work/.buildlink/lib 
-Wl,-R/Volumes/dump/pkg/lib -L/Volumes/dump/pkg/lib -lF77 -lI77 -lm
 [snip]
 <.> /Volumes/dump/pkgsrc/math/lapack/work/.gcc/bin/gcc 
-I/Volumes/dump/pkgsrc/math/lapack/work/.buildlink/include -dynamiclib 
-Wl,-flat_namespace -Wl,-undefined -Wl,suppress -install_name 
-compatibility_version -current_version -Wl,-single_module -o 
../.libs/liblapack.3.0.0.dylib
 [snip]
 -L/Volumes/dump/pkgsrc/math/lapack/work/.buildlink/lib 4 4.0  -llapack.3 -lF77 
-lI77 -lm
 
 Seems to be that -compatibility_version and -current_version are not handled 
properly.
 
 -- 
 Yuji Yamano
 
 


Home | Main Index | Thread Index | Old Index