NetBSD-Bugs archive

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

Re: pkg/52326: devel/cmake fails to build on netbsd-8 on VAX



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

From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: john%ziaspace.com@localhost
Subject: Re: pkg/52326: devel/cmake fails to build on netbsd-8 on VAX
Date: Mon, 26 Jun 2017 06:33:58 +0200

 --q4beu7j2ekcwbaws
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 On Sun, Jun 25, 2017 at 11:20:01PM +0000, John Klos wrote:
 > The following reply was made to PR toolchain/52326; it has been noted by GNATS.
 > 
 > From: John Klos <john%ziaspace.com@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc: 
 > Subject: Re: pkg/52326: devel/cmake fails to build on netbsd-8 on VAX
 > Date: Sun, 25 Jun 2017 23:14:58 +0000 (UTC)
 > 
 >  > >  I have made a GCC bug report for this:
 >  > >  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81199
 >  >
 >  > I don't think the patch is correct and the real problem is that we are 
 >  > linking libgcc first (again).
 >  
 >  The patch didn't change anything.
 
 The attached (untested but straightforward) patch changes the link
 order to verify if joerg's hunch is correct.
 
 I don't think it should be committed as-is, but please try it out so
 we know.
 
 It's against -current's src/external/gpl3/gcc/dist/gcc/gcc.c.
 
 Thanks,
  Thomas
 
 --q4beu7j2ekcwbaws
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="gcc.diff"
 
 Index: gcc.c
 ===================================================================
 RCS file: /cvsroot/src/external/gpl3/gcc/dist/gcc/gcc.c,v
 retrieving revision 1.14
 diff -u -r1.14 gcc.c
 --- gcc.c	14 Feb 2016 19:08:10 -0000	1.14
 +++ gcc.c	26 Jun 2017 04:30:37 -0000
 @@ -1463,8 +1463,8 @@
  		"%{!static:%{!static-libgcc:"
  #if USE_LD_AS_NEEDED
  		"%{!shared-libgcc:",
 -		static_name, " " LD_AS_NEEDED_OPTION " ",
 -		shared_name, " " LD_NO_AS_NEEDED_OPTION
 +		LD_AS_NEEDED_OPTION " ", shared_name, " " LD_NO_AS_NEEDED_OPTION " ",
 +		static_name,
  		"}"
  		"%{shared-libgcc:",
  		"--as-needed ", shared_name, " --no-as-needed ", static_name,
 
 --q4beu7j2ekcwbaws--
 


Home | Main Index | Thread Index | Old Index