pkgsrc-Users archive

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

libtool vs. nasm (SDL build fails on i386)

In this thread:

I described how building "devel/SDL" on NetBSD/i386 (-9 and -current)
fails.  It build just fine on amd64 running on the same hardware.  It
built on i386 without problems in the pkgsrc-2021Q1/Q2 time frame.

Apparently I am the only one having this problem.  It seems 'nasm' is
exiting with a non-zero code, but since 'libtool' suppresses STDOUT and
STDERR from 'nasm', there's no clue what problem it's running into.

For completeness, here's the failure again:

/bin/sh ./libtool --tag=CC --mode=compile build-scripts/ /usr/pkg/bin/nasm -f elf -I ./src/hermes/ -DHIDDEN_VISIBILITY -I./src/hermes/ ./src/hermes/mmx_main.asm -o build/mmx_main.lo
libtool: compile:  build-scripts/ /usr/pkg/bin/nasm -f elf -I./src/hermes/ -DHIDDEN_VISIBILITY ./src/hermes/mmx_main.asm  -fPIC -DPIC -o build/.libs/mmx_main.o
/usr/pkg/bin/nasm -f elf -I./src/hermes/ -DHIDDEN_VISIBILITY ./src/hermes/mmx_main.asm -DPIC -o build/.libs/mmx_main.o
libtool: compile:  build-scripts/ /usr/pkg/bin/nasm -f elf -I./src/hermes/ -DHIDDEN_VISIBILITY ./src/hermes/mmx_main.asm -pie -o build/mmx_main.o >/dev/null 2>&1
gmake: *** [build-deps:1029: build/mmx_main.lo] Error 1
*** Error code 2

make[1]: stopped in /x/pkgsrc/devel/SDL
*** Error code 1

make: stopped in /x/pkgsrc/devel/SDL

I've rebuilt "devel/nasm", "devel/libtool-base", nuked "devel/SDL" from my
CVS tree and re-fetched.  I've deleted and re-fetched the SDL-1.2.15
distfile tarball.  The failure remains.

I've tried h4xx0ring the scripts that seem to control the build process
to not suppress output, but it seems to have no effect.

Any suggestions about how to uncover what's going on?

|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

Home | Main Index | Thread Index | Old Index