ports/176422: net/samba4: [3433/3695] Linking default/source4/rpc_server/libservice-dcerpc.so /usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 25./usr/ports/net/samba4/work/samba-4.0.3/../source3/smbd/trans2.c:1653: undefined reference to `__unsafe_
O. Hartmann
ohartman at zedat.fu-berlin.de
Mon Feb 25 15:20:01 UTC 2013
>Number: 176422
>Category: ports
>Synopsis: net/samba4: [3433/3695] Linking default/source4/rpc_server/libservice-dcerpc.so /usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 25./usr/ports/net/samba4/work/samba-4.0.3/../source3/smbd/trans2.c:1653: undefined reference to `__unsaf
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Feb 25 15:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: O. Hartmann
>Release: FreeBSD 10.0-CURRENT/amd64
>Organization:
FU Berlin
>Environment:
10.0-CURRENT #0 r247188: Sat Feb 23 15:01:17 CET 2013 amd64
Copyright (c) 1992-2013 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.0-CURRENT #1 r247201: Sat Feb 23 22:46:17 CET 2013
root at gate.walstatt.dyndns.org:/usr/obj/usr/src/sys/GATE amd64
FreeBSD clang version 3.2 (tags/RELEASE_32/final 170710) 20121221
CPU: Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz (3300.09-MHz K8-class CPU)
Origin = "GenuineIntel" Id = 0x306a9 Family = 0x6 Model = 0x3a Stepping = 9
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x3d9ae3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,TSCDLT,XSAVE,OSXSAVE,AVX,F16C>
AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
AMD Features2=0x1<LAHF>
Standard Extended Features=0x281<GSFSBASE,SMEP,ENHMOVSB>
TSC: P-state invariant, performance statistics
real memory = 17179869184 (16384 MB)
avail memory = 16452059136 (15689 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <ALASKA A M I>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
cpu2 (AP): APIC ID: 2
cpu3 (AP): APIC ID: 3
>Description:
Installing/compiling port net/samba4 fails on FreeBSD 10.0-CURRENT/amd64 (CLANG) box with the follwoing error/linker error:
[3427/3695] Linking default/source3/libgpo.so
[3428/3695] Linking default/source3/libnetapi.so
[3429/3695] Linking default/source3/auth/libauth-script.so
[3430/3695] Linking default/source4/rpc_server/libdcerpc-server.so
[3431/3695] Linking default/source4/dns_server/libservice-dns.so
[3432/3695] Linking default/source3/libsmbd_base.so
[3433/3695] Linking default/source4/rpc_server/libservice-dcerpc.so
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 25.
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 25.
[...]
/usr/bin/ld: Dwarf Error: Invalid or unhandled FORM value: 25.
default/source3/smbd/trans2_92.o: In function `smbd_marshall_dir_entry':
/usr/ports/net/samba4/work/samba-4.0.3/../source3/smbd/trans2.c:1653: undefined reference to `__unsafe_string_function_usage_here_size_t__'
/usr/ports/net/samba4/work/samba-4.0.3/../source3/smbd/trans2.c:1691: undefined reference to `__unsafe_string_function_usage_here_size_t__'
/usr/ports/net/samba4/work/samba-4.0.3/../source3/smbd/trans2.c:1756: undefined reference to `__unsafe_string_function_usage_here_size_t__'
/usr/ports/net/samba4/work/samba-4.0.3/../source3/smbd/trans2.c:1820: undefined reference to `__unsafe_string_function_usage_here_size_t__'
/usr/ports/net/samba4/work/samba-4.0.3/../source3/smbd/trans2.c:1856: undefined reference to `__unsafe_string_function_usage_here_size_t__'
default/source3/smbd/trans2_92.o:/usr/ports/net/samba4/work/samba-4.0.3/../source3/smbd/trans2.c:1899: more undefined references to `__unsafe_string_function_usage_here_size_t__' follow
cc: error: linker command failed with exit code 1 (use -v to see invocation)
Waf: Leaving directory `/usr/ports/net/samba4/work/samba-4.0.3/bin'
Build failed: -> task failed (err #1):
{task: cc_link asys_1.o,srv_eventlog_nt_23.o,srv_eventlog_reg_23.o,srv_eventlog_23.o,authdata_81.o,srv_ntsvcs_nt_18.o,srv_ntsvcs_18.o,srv_dfs_nt_20.o,srv_dfs_20.o,afs_settoken_84.o,afs_83.o,service_44.o,svc_spoolss_113.o,svc_rcinit_113.o,svc_winreg_glue_113.o,svc_netlogon_113.o,svc_winreg_113.o,svc_wins_113.o,ndr_perfcount_7.o,rpc_server_4.o,srv_echo_nt_24.o,srv_echo_24.o,printing_98.o,nt_printing_98.o,nt_printing_tdb_98.o,nt_printing_migrate_internal_98.o,nt_printing_ads_98.o,queue_process_98.o,srv_wkssvc_nt_16.o,srv_wkssvc_16.o,rpc_ep_register_7.o,dcerpc_ep_7.o,srv_netlog_nt_19.o,srv_netlogon_19.o,pcap_102.o,print_svid_102.o,print_aix_102.o,print_cups_102.o,print_generic_102.o,lpq_parse_102.o,load_102.o,print_standard_102.o,print_iprint_102.o,printer_list_102.o,regfio_45.o,reg_parse_prs_45.o,server_reload_92.o,files_92.o,connection_92.o,utmp_92.o,session_92.o,dfree_92.o,dir_92.o,password_92.o,conn_msg_92.o,conn_idle_92.o,share_access_92.o,fileio_92.o,ipc_92.o,lanman_92.o,ne
gprot_92.o,message_92.o,nttrans_92.o,pipes_92.o,reply_92.o,sesssetup_92.o,trans2_92.o,uid_92.o,dosmode_92.o,filename_92.o,open_92.o,close_92.o,blocking_92.o,sec_ctx_92.o,srvstr_92.o,vfs_92.o,perfcount_92.o,statcache_92.o,seal_92.o,posix_acls_92.o,sysacls_92.o,process_92.o,service_92.o,error_92.o,printspoolss_92.o,spoolssd_92.o,sysquotas_92.o,sysquotas_linux_92.o,sysquotas_xfs_92.o,sysquotas_4A_92.o,sysquotas_4B_92.o,sysquotas_nfs_92.o,background_92.o,sessionid_tdb_92.o,conn_tdb_92.o,fake_file_92.o,quotas_92.o,ntquotas_92.o,msdfs_92.o,aio_92.o,statvfs_92.o,dmapi_92.o,signing_92.o,file_access_92.o,dnsregister_92.o,globals_92.o,smb2_server_92.o,smb2_glue_92.o,smb2_negprot_92.o,smb2_sesssetup_92.o,smb2_tcon_92.o,smb2_create_92.o,smb2_close_92.o,smb2_flush_92.o,smb2_read_92.o,smb2_write_92.o,smb2_lock_92.o,smb2_ioctl_92.o,smb2_keepalive_92.o,smb2_find_92.o,smb2_notify_92.o,smb2_getinfo_92.o,smb2_setinfo_92.o,smb2_break_92.o,smbXsrv_version_92.o,smbXsrv_session_92.o,smbXsrv_tcon_92.o,smbX
srv_open_92.o,server_exit_92.o,durable_92.o,!
mangle_92.o,mangle_hash_92.o,mangle_hash2_92.o,oplock_92.o,oplock_irix_92.o,oplock_linux_92.o,notify_92.o,notify_inotify_92.o,notify_internal_92.o,build_options_92.o,eventlog_111.o,srv_samr_nt_11.o,srv_samr_util_11.o,srv_samr_chgpasswd_11.o,srv_samr_11.o,profile_96.o,vfs_dfs_samba4_73.o,ldap_printer_82.o,reg_api_regf_46.o,srv_initshutdown_nt_14.o,srv_initshutdown_14.o,locking_95.o,brlock_95.o,posix_95.o,share_mode_lock_95.o,srv_srvsvc_nt_21.o,srv_srvsvc_21.o,rpc_ncacn_np_3.o,rpc_handles_3.o,rpc_contexts_3.o,srv_pipe_hnd_26.o,srv_pipe_26.o,rpc_sock_helper_26.o,rpc_service_setup_26.o,srv_spoolss_nt_22.o,srv_spoolss_22.o,srv_spoolss_util_22.o,avahi_25.o,avahi_register_25.o,ndr_printcap_21.o,cli_winreg_int_144.o,srv_svcctl_nt_17.o,srv_svcctl_reg_17.o,srv_svcctl_17.o,srv_epmapper_25.o,srv_epmapper_25.o,srv_pipe_register_6.o,vfs_default_3.o,srv_access_check_10.o,dcesrv_auth_generic_5.o,ndr_smb_acl_50.o,reg_backend_printing_51.o,reg_backend_shares_51.o,reg_backend_netlogon_params_51.o,reg_
backend_prod_options_51.o,reg_backend_tcpip_params_51.o,reg_backend_hkpt_params_51.o,reg_backend_current_version_51.o,reg_backend_perflib_51.o,reg_init_full_51.o,reg_perfcount_51.o,notify_97.o,printing_db_97.o,filename_util_104.o,srv_winreg_nt_13.o,srv_winreg_13.o,srv_lsa_nt_12.o,srv_lsa_12.o,rpc_config_2.o,vfs_posixacl_32.o,srv_dssetup_nt_15.o,srv_dssetup_15.o -> libsmbd_base.so}
*** [do-build] Error code 1
Stop in /usr/ports/net/samba4.
*** [build] Error code 1
Stop in /usr/ports/net/samba4.
===>>> make failed for net/samba4
===>>> Aborting update
Terminated
>How-To-Repeat:
Try to compile on a most recent (r247188) FreeBSD 10.0-CURRENT/amd64 system with CLANG as standard compiler
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
e_string_function_usage_here_size_t__'
More information about the freebsd-ports-bugs
mailing list