pkgsrc-Bugs archive

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

Re: pkg/36568: [patch] devel/glib2 linker error on Darwin/OS X with certain linker flags



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

From: Idar Tollefsen <idart%performancedesign.no@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/36568: [patch] devel/glib2 linker error on Darwin/OS X with
 certain linker flags
Date: Fri, 29 Jun 2007 11:32:51 +0200

  > The gettext tools pull in each other, so this is not really necessary.
 
 OK. I just noticed that it didn't link xgettext into the ${WRKSRC} and 
 the configure script picked it from ${PREFIX}/bin. With xgettext added 
 to USE_TOOLS, the configure script picked it from the build tree.
 
  > Where is -dead_strip coming from? Are you setting it in mk.conf?
 
 Yes. From my mk.conf:
 LDFLAGS=        -Wl,-x -Wl,-dead_strip
 
  > Does it work in most other packages?
 
 Yes. This is the only package so far that has a problem with it. And the 
 problem wasn't there before. I had glib2-2.12.4 (I think, or was it 
 2.4.x...) installed before, and that version didn't have this problem.
 
 For more information about -dead_strip, see
 
http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/ld.1.html
 



Home | Main Index | Thread Index | Old Index