pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: xentools415 build failure on NetBSD 9.99.90 amd64
On Fri, Oct 15, 2021 at 09:58:56AM +0100, Patrick Welche wrote:
> On Tue, Oct 12, 2021 at 11:10:04PM +0200, Joerg Sonnenberger wrote:
> > On Tue, Oct 12, 2021 at 12:59:44PM +0200, oskar%fessel.org@localhost wrote:
> > > ist seems impossible to build xentools 415 on netbsd -current (also on 9.99.74 and 9.99.82)
> > > Is nobody using that?
> > > Any clue how to fix that?
> >
> > Can you check what the build instructions for stacks.c are in work.log?
>
> [*] cc -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -Wno-address-of-packed-member -fcf-protection=none -DMODE16=0 -DMODESEGMENT=0 -c src/stacks.c -o out/src/stacks.o
> <.> /tmp/pkgsrc/sysutils/xentools415/work.x86_64/.gcc/bin/gcc -fcommon -Iout/ -Isrc -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -fomit-frame-pointer -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-merge-constants -fno-pie -fno-stack-protector -fstack-check=no -Wno-address-of-packed-member -fcf-protection=none -DMODE16=0 -DMODESEGMENT=0 -c src/stacks.c -o out/src/stacks.o -fPIC -D_FORTIFY_SOURCE=2 -I/tmp/pkgsrc/sysutils/xentools415/work.x86_64/.buildlink/include
Yeah, no surprise. The -fPIC overwrites the -fno-pie. The PIE flags
should likely use *pre*pend and not *ap*pend.
Joerg
Home |
Main Index |
Thread Index |
Old Index