Current-Users archive

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

Re: amd64 -current build failure



On 27 July 2012 05:18, Dennis Ferguson <dennis.c.ferguson%gmail.com@localhost> 
wrote:
> Hello,
>
> A `./build.sh distribution' for amd64 done in a clean, newly checked
> out -current source tree from about 20120727033000Z ends with this
> (for me at least):
>
> dependall ===> tests/crypto/libcrypto/rc4
> #    create  rc4/rc4test.d
> CC=/usr/src/obj/tooldir.NetBSD-6.0_BETA2-amd64/bin/x86_64--netbsd-gcc 
> /usr/src/obj/tooldir.NetBSD-6.0_BETA2-amd64/bin/nbmkdep -f rc4test.d --      
> --sysroot=/usr/src/obj/destdir.amd64 -DOPENSSL_FIPS 
> -I/usr/src/crypto/external/bsd/openssl/dist 
> -I/usr/src/crypto/external/bsd/openssl/dist/crypto 
> -DOPENSSLDIR=\"/etc/openssl\" -DENGINESDIR=\"/usr/lib/openssl\" -DDSO_DLFCN 
> -DHAVE_DLFCN_H   
> /usr/src/crypto/external/bsd/openssl/dist/crypto/rc4/rc4test.c
> #    create  rc4/.depend
> rm -f .depend
> CC=/usr/src/obj/tooldir.NetBSD-6.0_BETA2-amd64/bin/x86_64--netbsd-gcc 
> /usr/src/obj/tooldir.NetBSD-6.0_BETA2-amd64/bin/nbmkdep -d -f .depend -s .o\ 
> .ln rc4test.d
> rm -f .gdbinit
> echo "set solib-absolute-prefix /usr/src/obj/destdir.amd64" > .gdbinit
> #   compile  rc4/rc4test.o
> /usr/src/obj/tooldir.NetBSD-6.0_BETA2-amd64/bin/x86_64--netbsd-gcc -O2  
> -std=gnu99  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
> -Wno-sign-compare  -Wno-traditional  -Wa,--fatal-warnings -Wreturn-type 
> -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter 
> -Wno-sign-compare -Wsign-compare -Wformat=2   -Wno-format-zero-length  
> -Werror -Wno-missing-noreturn    --sysroot=/usr/src/obj/destdir.amd64 
> -DOPENSSL_FIPS -I/usr/src/crypto/external/bsd/openssl/dist 
> -I/usr/src/crypto/external/bsd/openssl/dist/crypto 
> -DOPENSSLDIR=\"/etc/openssl\" -DENGINESDIR=\"/usr/lib/openssl\" -DDSO_DLFCN 
> -DHAVE_DLFCN_H  -c    
> /usr/src/crypto/external/bsd/openssl/dist/crypto/rc4/rc4test.c
> #      link  rc4/h_rc4test
> /usr/src/obj/tooldir.NetBSD-6.0_BETA2-amd64/bin/x86_64--netbsd-gcc    
> --sysroot=/usr/src/obj/destdir.amd64     -o h_rc4test  rc4test.o -lcrypto 
> -lcrypt       -Wl,-rpath-link,/usr/src/obj/destdir.amd64/lib  -L=/lib
> rc4test.o: In function `main':
> rc4test.c:(.text+0x12): undefined reference to `OPENSSL_cpuid_setup'
> collect2: ld returned 1 exit status
>
> Dennis Ferguson

similar in i386:
....
/home/sysbuild/src/crypto/external/bsd/openssl/dist/crypto/camellia/camellia.c(574):
warning: expression has null effect [129]
/home/sysbuild/src/crypto/external/bsd/openssl/dist/crypto/camellia/camellia.c(575):
warning: expression has null effect [129]
--- x86cpuid.pico ---
x86cpuid.s: Assembler messages:
x86cpuid.s:333: Error: no such instruction: `pic_prologue'
x86cpuid.s:334: Error: junk `(_C_LABEL(OPENSSL_cpuid_setup))' after expression
x86cpuid.s:335: Error: no such instruction: `pic_epilogue'
*** [x86cpuid.pico] Error code 1
nbmake: stopped in /home/sysbuild/src/crypto/external/bsd/openssl/lib/libcrypto
--- gosthash.pico ---
/home/sysbuild/i386/tools/bin/i486--netbsdelf-objcopy -x gosthash.pico
....

Chavdar


-- 
----


Home | Main Index | Thread Index | Old Index