Assembler issues while compiling pkgsrc packages

John Klos <[email protected]>
Newsgroups gmane.os.netbsd.ports.arm
Message-ID <[email protected]>
Hi,

A small number of pkgsrc packages are failing on earmv4 because of 
assembler issues like so:

/tmp/pkgbuild/security/nettle/work.earmv4/.cwrapper/bin/libtool  --mode=compile gcc -I. -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -ggdb3 -Wall -W -Wno-sign-compare   -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes   -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT aes-decrypt-internal.o -MD -MP -MF aes-decrypt-internal.o.d -c aes-decrypt-internal.s
libtool: compile:  gcc -I. -I/tmp/pkgbuild/security/nettle/work.earmv4/.buildlink/include -DHAVE_CONFIG_H -O2 -ggdb3 -Wall -W -Wno-sign-compare -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT aes-decrypt-internal.o -MD -MP -MF aes-decrypt-internal.o.d -c aes-decrypt-internal.s  -fPIC -DPIC -o .libs/aes-decrypt-internal.o
aes-decrypt-internal.s: Assembler messages:
aes-decrypt-internal.s:373: Error: selected processor does not support `bx lr' in ARM mode
gmake[1]: *** [Makefile:302: aes-decrypt-internal.o] Error 1
gmake[1]: Leaving directory '/tmp/pkgbuild/security/nettle/work.earmv4/nettle-3.9.1'
gmake: *** [Makefile:47: all] Error 2
*** Error code 2

What can be done to stop the generation of assembler that doesn't work on 
earmv4?

John
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.