pkgsrc-Bugs archive

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

pkg/35380: Darwin-i386 patch breaks "nasm" on other platforms



>Number:         35380
>Category:       pkg
>Synopsis:       Darwin-i386 patch breaks "nasm" on other platforms
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 08 12:50:00 +0000 2007
>Originator:     Matthias Scheler
>Release:        NetBSD 3.1 2007-01-08 pkgsrc
>Organization:
Matthias Scheler                                  http://zhadum.org.uk/
>Environment:
System: NetBSD colwyn.zhadum.org.uk 3.1 NetBSD 3.1 (COLWYN) #0: Sat Oct 28 
19:44:15 BST 2006 
tron%colwyn.zhadum.org.uk@localhost:/export/scratch/tron/build.20336a/sys/compile/COLWYN
 i386
Architecture: i386
Machine: i386
>Description:
Building the latest version of the "nasm" package fails under NetBSD-i386:

preproc.c:795: warning: subscript has type `char'
cc -c -O2 -Wall -std=c99 -pedantic -DHAVE_CONFIG_H -I. -I.   -o listing.o 
listing.c
cc -c -O2 -Wall -std=c99 -pedantic -DHAVE_CONFIG_H -I. -I.   -o eval.o eval.c
cc -Wl,-R/usr/pkg/lib -o nasm nasm.o nasmlib.o float.o insnsa.o assemble.o 
labels.o parser.o outform.o output/outbin.o output/outaout.o output/outcoff.o 
output/outelf.o output/outobj.o output/outas86.o output/outrdf2.o 
output/outdbg.o output/outieee.o output/outmacho.o preproc.o listing.o eval.o
output/outmacho.o(.text+0x22): In function `exact_log2':
: undefined reference to `__builtin_ctzl'

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/src/NetBSD-current/pkgsrc/devel/nasm/work.colwyn/.gcc/bin/gcc 
-Wl,-R/usr/pkg/lib -o nasm nasm.o nasmlib.o float.o insnsa.o assemble.o 
labels.o parser.o outform.o output/outbin.o output/outaout.o output/outcoff.o 
output/outelf.o output/outobj.o output/outas86.o output/outrdf2.o 
output/outdbg.o output/outieee.o output/outmacho.o preproc.o listing.o eval.o 
-I/src/NetBSD-current/pkgsrc/devel/nasm/work.colwyn/.buildlink/include 
-L/src/NetBSD-current/pkgsrc/devel/nasm/work.colwyn/.buildlink/lib
gmake: *** [nasm] Error 1
*** Error code 2

The symbol "__builtin_ctzl" is used in "patches/patch-aa" which was added
to support Darwin-i386.

>How-To-Repeat:
cd pkgsrc/devel/nasm
make

>Fix:
None provided.




Home | Main Index | Thread Index | Old Index