pkgsrc-Bugs archive

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

Re: pkg/45256: lang/gcc46 not working properly on Solaris



The following reply was made to PR pkg/45256; 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: solaris-pkg-people%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost,
 pkgsrc-bugs%NetBSD.org@localhost
Subject: Re: pkg/45256: lang/gcc46 not working properly on Solaris
Date: Thu, 18 Aug 2011 16:45:59 +0200

 Please add this patch to lang/gcc46
 
 --- gcc/Makefile.in.orig        2011-05-23 18:12:34.000000000 +0000
 +++ gcc/Makefile.in
 @@ -2190,6 +2190,7 @@ prefix.o: prefix.c $(CONFIG_H) $(SYSTEM_
   # Language-independent files.
 
   DRIVER_DEFINES = \
 +  -DLINK_LIBGCC_SPEC="\"%D $(LINKER_RPATH_FLAG) $(exec_prefix)/lib\"" \
     -DSTANDARD_STARTFILE_PREFIX=\"$(unlibsubdir)/\" \
     -DSTANDARD_EXEC_PREFIX=\"$(libdir)/gcc/\" \
     -DSTANDARD_LIBEXEC_PREFIX=\"$(libexecdir)/gcc/\" \
 
 With this, "gcc -dumpspecs" reports the correct rpath for all shared 
 objects using libgcc_s.so. Kudos to the author of 
 lang/gcc34/patches/patch-cc.
 
 -- 
   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