NetBSD-Bugs archive

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

bin/41503: netbsd-5 LDSTATIC=-static amd build does not



>Number:         41503
>Category:       bin
>Synopsis:       netbsd-5 LDSTATIC=-static amd build does not
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 29 08:20:00 +0000 2009
>Originator:     Hauke Fath
>Release:        NetBSD 5.0_STABLE
>Organization:
-- 
     The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email             Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
     Respect for open standards              Ruf +49-6151-16-3281
>Environment:
        
        
System: NetBSD Gstoder 5.0_STABLE NetBSD 5.0_STABLE (P4W) #0: Wed May 13 
20:40:29 CEST 2009 
hf@Hochstuhl:/var/obj/netbsd-builds/5/i386/sys/arch/i386/compile/P4W i386
Architecture: i386
Machine: i386
>Description:

        A build.sh run with LDSTATIC=-static (mac68k cross-build here,
        but doesn't really make a difference) fails to build amd(8)
        with

[...]

#      link  amd/amd
/u/netbsd-builds/5/mac68k/tools/bin/m68k--netbsdelf-gcc  
-B/u/netbsd-builds/5/mac68k/destdir/usr/lib/ 
-B/u/netbsd-builds/5/mac68k/destdir/usr/lib/  -Wl,-nostdlib    
-Wl,--fatal-warnings   -static   -o amd  am_ops.o amd.o amfs_auto.o 
amfs_generic.o amfs_direct.o amfs_error.o amfs_host.o amfs_link.o amfs_linkx.o 
amfs_nfsl.o amfs_nfsx.o amfs_program.o amfs_root.o amfs_toplvl.o amfs_union.o 
amq_subr.o amq_svc.o autil.o clock.o conf.o get_args.o info_exec.o info_file.o 
info_ndbm.o info_passwd.o info_sun.o info_union.o map.o mapc.o mntfs.o 
nfs_prot_svc.o nfs_start.o nfs_subr.o ops_cdfs.o ops_efs.o ops_mfs.o ops_nfs.o 
ops_nfs3.o ops_nullfs.o ops_pcfs.o ops_tfs.o ops_tmpfs.o ops_ufs.o ops_umapfs.o 
ops_unionfs.o opts.o readdir.o restart.o rpc_fwd.o sched.o srvr_amfs_auto.o 
srvr_nfs.o sun_map.o sun_map_parse.o sun_map_tok.o conf_parse.o conf_tok.o 
info_hesiod.o info_ldap.o info_nis.o 
-L/var/obj/netbsd-builds/5/mac68k/external/bsd/am-utils/lib/libamu -lamu -lldap 
-llber -lssl -lcrypto !
  -lrpcsvc -L/var/obj/netbsd-builds/5/mac68k/external/bsd/am-utils/lib/libamu 
-lamu       -L/u/netbsd-builds/5/mac68k/destdir/usr/lib   
-Wl,-rpath-link,/u/netbsd-builds/5/mac68k/destdir/lib  
-L/u/netbsd-builds/5/mac68k/destdir/lib 
-Wl,-rpath-link,/u/netbsd-builds/5/mac68k/destdir/usr/lib  
-L/u/netbsd-builds/5/mac68k/destdir/usr/lib
/u/netbsd-builds/5/mac68k/destdir/usr/lib/libcrypto.a(e_idea.o): In function 
`EVP_idea_ecb':
e_idea.c:(.text+0xe0): warning: IDEA is a patented algorithm; link against 
libcrypto_idea.a
e_idea.c:(.text+0xec): warning: IDEA is a patented algorithm; link against 
libcrypto_idea.a
e_idea.c:(.text+0x19a): warning: IDEA is a patented algorithm; link against 
libcrypto_idea.a
/u/netbsd-builds/5/mac68k/destdir/usr/lib/libcrypto.a(i_ecb.o): In function 
`idea_ecb_encrypt':
i_ecb.c:(.text+0x70): warning: IDEA is a patented algorithm; link against 
libcrypto_idea.a
collect2: ld returned 1 exit status

*** Failed target:  amd
*** Failed command: /u/netbsd-builds/5/mac68k/tools/bin/m68k--netbsdelf-gcc 
-B/u/netbsd-builds/5/mac68k/destdir/usr/lib/ 
-B/u/netbsd-builds/5/mac68k/destdir/usr/lib/ -Wl,-nostdlib -Wl,--fatal-warnings 
-static -o amd am_ops.o amd.o amfs_auto.o amfs_generic.o amfs_direct.o 
amfs_error.o amfs_host.o amfs_link.o amfs_linkx.o amfs_nfsl.o amfs_nfsx.o 
amfs_program.o amfs_root.o amfs_toplvl.o amfs_union.o amq_subr.o amq_svc.o 
autil.o clock.o conf.o get_args.o info_exec.o info_file.o info_ndbm.o 
info_passwd.o info_sun.o info_union.o map.o mapc.o mntfs.o nfs_prot_svc.o 
nfs_start.o nfs_subr.o ops_cdfs.o ops_efs.o ops_mfs.o ops_nfs.o ops_nfs3.o 
ops_nullfs.o ops_pcfs.o ops_tfs.o ops_tmpfs.o ops_ufs.o ops_umapfs.o 
ops_unionfs.o opts.o readdir.o restart.o rpc_fwd.o sched.o srvr_amfs_auto.o 
srvr_nfs.o sun_map.o sun_map_parse.o sun_map_tok.o conf_parse.o conf_tok.o 
info_hesiod.o info_ldap.o info_nis.o 
-L/var/obj/netbsd-builds/5/mac68k/external/bsd/am-utils/lib/libamu -lamu -lldap 
-llber -lssl!
  -lcrypto -lrpcsvc 
-L/var/obj/netbsd-builds/5/mac68k/external/bsd/am-utils/lib/libamu -lamu 
-L/u/netbsd-builds/5/mac68k/destdir/usr/lib 
-Wl,-rpath-link,/u/netbsd-builds/5/mac68k/destdir/lib 
-L/u/netbsd-builds/5/mac68k/destdir/lib 
-Wl,-rpath-link,/u/netbsd-builds/5/mac68k/destdir/usr/lib 
-L/u/netbsd-builds/5/mac68k/destdir/usr/lib
*** Error code 1

Stop.
nbmake: stopped in /public/netbsd-5/external/bsd/am-utils/bin/amd

 
>How-To-Repeat:

        Run the equivalent of 'env LDSTATIC=-static ./build.sh' on
        netbsd-5 sources.

>Fix:
        Wish I'd know.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index