Current-Users archive

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

Re: yet another MKPIE=yes problem on build.sh release



On Apr 25,  2:15pm, aniou%smutek.pl@localhost (Piotr Meyer) wrote:
-- Subject: Re: yet another MKPIE=yes problem on build.sh release

| On Sat, Apr 24, 2010 at 07:50:33PM +0200, Frank Kardel wrote:
| > A build.sh release fails with MKPIE=yes when building the boot cdroms with:
| > 
| > 
| > 
/fs/raid1a/src/NetBSD/tc-merge/src/obj.i386/distrib/i386/cdroms/bootcd/cdrom/./usr/share/locale/locale.alias
| > Copying boot.cfg to 
/fs/raid1a/src/NetBSD/tc-merge/src/obj.i386/distrib/i386/cdroms/bootcd/cdrom
| [...]
| 
| Includes in src/sys/arch/i386/stand/bootxx/bootxx_cd9660/Makefile
| overrides resetted in src/sys/arch/i386/stand/bootxx/Makefile.bootxx
| PIE_CFLAGS, PIE_LDFLAGS and PIE_AFLAGS.
| 
| Following change to bootxx_cd9660/Makefile gave me valid binaries:
| 
| diff -u -r1.12 Makefile
| --- Makefile    14 Feb 2009 13:52:51 -0000      1.12
| +++ Makefile    25 Apr 2010 12:13:19 -0000
| @@ -5,6 +5,7 @@
|  NOMAN=         # defined
|  .include <bsd.own.mk>
| 
| +MKPIE=         no
|  STRIPFLAG=     # nothing
| 
|  LIBCRT0=       # nothing
| 
| -- 
| Piotr 'aniou' Meyer

How about adding && !defined(PRIMARY_LOAD_ADDRESS) in bsd.sys.mk?

christos



Home | Main Index | Thread Index | Old Index