pkgsrc-Bugs archive

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

Re: pkg/56236: Patch FreeBSD link errors, "can't create dynamic relocation R_386_32 ..."



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

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/56236: Patch FreeBSD link errors, "can't create dynamic
 relocation R_386_32 ..."
Date: Sat, 17 Jul 2021 08:14:19 +0000

 On Sat, Jun 05, 2021 at 03:15:00PM +0000, ota%j.email.ne.jp@localhost wrote:
  > +CFLAGS.FreeBSD+=               -fPIC
  > +LDFLAGS.FreeBSD+=              -Wl,-z,notext
 
 It seems to me that one shouldn't need both of these -- if one of the
 packages doesn't honor -fPIC or ignores CFLAGS settings so that the
 LDFLAGS is needed, it should be patched to work properly.
 
 (also, allowing text relocations isn't desirable)
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index