pkgsrc-Bugs archive

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

Re: pkg/42109



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

From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern.clausen%uni-bielefeld.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/42109
Date: Fri, 23 Oct 2009 16:08:09 +0200

 I followed the advice in
 
 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41771
 
 and downgraded devel/gmp to version 4.3.0. This version conflicts with 
 patch-ad, which seems to fix exactly the problem mentioned in the bug 
 report above. After removing the patch, compilation now breaks like this:
 
 gmake[3]: Entering directory 
 `/software/pkgsrc/source/pkgsrc/lang/gcc44/work/obj/libdecnumber'
 gmake[3]: Nothing to be done for `all'.
 gmake[3]: Leaving directory 
 `/software/pkgsrc/source/pkgsrc/lang/gcc44/work/obj/libdecnumber'
 gmake[3]: Entering directory 
 `/software/pkgsrc/source/pkgsrc/lang/gcc44/work/obj/gcc'
 /software/pkgsrc/source/pkgsrc/lang/gcc44/work/obj/./gcc/xgcc 
 -B/software/pkgsrc/source/pkgsrc/lang/gcc44/work/obj/./gcc/ 
 -B/usr/pkgsrc/gcc44/gcc44/i386-pc-solaris2.10/bin/ 
 -B/usr/pkgsrc/gcc44/gcc44/i386-pc-solaris2.10/lib/ -isystem 
 /usr/pkgsrc/gcc44/gcc44/i386-pc-solaris2.10/include -isystem 
 /usr/pkgsrc/gcc44/gcc44/i386-pc-solaris2.10/sys-include -dumpspecs > 
 tmp-specs
 ld.so.1: xgcc: fatal: libintl.so.3: open failed: No such file or directory
 /bin/bash: line 1: 22145 Killed 
 /software/pkgsrc/source/pkgsrc/lang/gcc44/work/obj/./gcc/xgcc 
 -B/software/pkgsrc/source/pkgsrc/lang/gcc44/work/obj/./gcc/ 
 -B/usr/pkgsrc/gcc44/gcc44/i386-pc-solaris2.10/bin/ 
 -B/usr/pkgsrc/gcc44/gcc44/i386-pc-solaris2.10/lib/ -isystem 
 /usr/pkgsrc/gcc44/gcc44/i386-pc-solaris2.10/include -isystem 
 /usr/pkgsrc/gcc44/gcc44/i386-pc-solaris2.10/sys-include -dumpspecs 
  >tmp-specs
 gmake[3]: *** [specs] Error 137
 gmake[3]: Leaving directory 
 `/software/pkgsrc/source/pkgsrc/lang/gcc44/work/obj/gcc'
 gmake[2]: *** [all-stage2-gcc] Error 2
 gmake[2]: Leaving directory 
 `/software/pkgsrc/source/pkgsrc/lang/gcc44/work/obj'
 gmake[1]: *** [stage2-bubble] Error 2
 gmake[1]: Leaving directory 
 `/software/pkgsrc/source/pkgsrc/lang/gcc44/work/obj'
 gmake: *** [all] Error 2
 *** Error code 2
 
 Indeed, the interim gcc is not linked correctly:
 
 $ ldd ./work/obj/gcc/xgcc
          libintl.so.3 =>  (file not found)
          libiconv.so.2 =>         (file not found)
          libc.so.1 =>     /lib/libc.so.1
          libm.so.2 =>     /lib/libm.so.2
 
 I'm not sure in which phase this xgcc is built, but this one finds its 
 libraries:
 
 $ ldd ./work/obj/prev-gcc/xgcc
          libintl.so.3 =>  /usr/pkgsrc/gcc44/lib/libintl.so.3
          libiconv.so.2 =>         /usr/pkgsrc/gcc44/lib/libiconv.so.2
          libc.so.1 =>     /lib/libc.so.1
          libm.so.2 =>     /lib/libm.so.2
 
 
 -- 
   Jörn Clausen                             
joern.clausen%uni-bielefeld.de@localhost
   Hochschulrechenzentrum                 http://www.uni-bielefeld.de/hrz/
   Universität Bielefeld
 


Home | Main Index | Thread Index | Old Index