pkgsrc-Users archive

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

"devel/SDL" build fails for netbsd-9/i386 (running on x86_64)



Building packages for i386 on my x86_64 host running netbsd-9/i386 has
hit a snag trying to build "devel/SDL":

[...]
/bin/sh ./libtool --tag=CC --mode=compile build-scripts/strip_fPIC.sh /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/strip_fPIC.sh /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/strip_fPIC.sh /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

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

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


I don't actually see any error message or indication, but the fact that it
seem to be working on some MMX-related source makes me wonder if running
an i386 OS on 64-bit hardware is confusing things?

The CPU is:

# cpuctl identify 0 
cpu0: highest basic info 0000000a
cpu0: highest extended info 80000008
cpu0: "Intel(R) Core(TM)2 Quad  CPU   Q8200  @ 2.33GHz"
cpu0: Intel Xeon 31xx, 33xx, 52xx, 54xx, Core 2 Quad 8xxx and 9xxx (686-class), 2327.59 MHz
cpu0: family 0x6 model 0x17 stepping 0x7 (id 0x10677)
cpu0: features 0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE>
cpu0: features 0xbfebfbff<MCA,CMOV,PAT,PSE36,CLFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2>
cpu0: features 0xbfebfbff<SS,HTT,TM,SBF>
cpu0: features1 0x8e39d<SSE3,DTES64,MONITOR,DS-CPL,EST,TM2,SSSE3,CX16,xTPR>
cpu0: features1 0x8e39d<PDCM,SSE41>
cpu0: features2 0x20100000<XD,EM64T>
cpu0: features3 0x1<LAHF>
cpu0: I-cache 32KB 64B/line 8-way, D-cache 32KB 64B/line 8-way
cpu0: L2 cache 2MB 64B/line 8-way
cpu0: 64B prefetching
cpu0: ITLB 128 4KB entries 4-way, 8 2M/4 4M entries
cpu0: DTLB 256 4KB entries 4-way, 16 4MB entries 4-way
cpu0: Initial APIC ID 0
cpu0: Cluster/Package ID 0
cpu0: Core ID 0
cpu0: SMT ID 0
cpu0: MONITOR/MWAIT extensions 0x3<EMX,IBE>
cpu0: monitor-line size 64
cpu0: C1 substates 2
cpu0: DSPM-eax 0x1<DTS>
cpu0: DSPM-ecx 0x1<HWF>
cpu0: SEF highest subleaf 00000000
cpu0: Power Management features: 0x0
cpu0: Perfmon-eax 0x7280202<VERSION=0x2,GPCounter=0x2,GPBitwidth=0x28>
cpu0: Perfmon-eax 0x7280202<Vectorlen=0x7>
cpu0: Perfmon-edx 0x503<FixedFunc=0x3,FFBitwidth=0x28>
cpu0: microcode version 0x70a, platform ID 4


Thoughts, hints, suggestions?

Thanks.

-- 
|/"\ 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