Date: Thu, 28 May 2020 16:20:31 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 246811] binutils compile error with static compilation at postgresql12-server installation /usr/ports/devel/binutils Message-ID: <bug-246811-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246811 Bug ID: 246811 Summary: binutils compile error with static compilation at postgresql12-server installation /usr/ports/devel/binutils Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: bapt@FreeBSD.org Reporter: ulassayginim@gmail.com Assignee: bapt@FreeBSD.org Flags: maintainer-feedback?(bapt@FreeBSD.org) I am trying to compile postgresql12-server with static option made in make.= conf in this case, binutils gives this error below. my make.conf # allow compiler optimizations specific to our CPU model CPUTYPE?=3Dhaswell CFLAGS=3D-O2 -pipe -fno-strict-aliasing COPTFLAGS=3D-O2 -pipe -funroll-loops -ffast-math -fno-strict-aliasing #CCACHE #.if !defined(NO_CCACHE) #CC=3D /usr/local/libexec/ccache/world/cc #CCX=3D /usr/local/libexec/ccache/world/c++ #.endif #.if ${.CURDIR:M*/ports/devel/ccache} #NO_CCACHE=3Dyes #.endif # disable profiling, unless you like 1hr compile times MK_PROFILE=3Dno #WITH_CCACHE_BUILD=3Dyes #CCACHE_DIR=3D/tmp/ccache #Default Versions DEFAULT_VERSIONS+=3Dssl=3Dlibressl python=3D3.8 python2=3D2.7 python3=3D3.8= php=3D7.4 pgsql=3D12 mysql=3D8 # Headless server options OPTIONS_SET+=3DICONV OPTIMIZED_CFLAGS CPUFLAGS STATIC OPTIMIZED OPTIONS_UNSET+=3DCUPS DEBUG DOCS FONTCONFIG NLS X11 MAN EXAMPLES MAN3 MANPA= GES ## Libre SSL Needs These ftp_curl_UNSET=3D TLS_SRP # LibreSSL doesn't work with GSSAPI_BASE security_p5-GSSAPI_SET =3D GSSAPI_MIT OPTIONS_UNSET +=3D GSSAPI_BASE OPTIONS_SET +=3D GSSAPI_NONE my src.conf WITHOUT_ACCT=3DYES WITHOUT_AMD=3DYES WITHOUT_ATM=3DYES WITHOUT_AUDIT=3DYES WITHOUT_AUTHPF=3DYES WITHOUT_AUTOFS=3DYES WITHOUT_BHYVE=3DYES WITHOUT_BLUETOOTH=3DYES WITHOUT_BOOTPARAMD=3DYES WITHOUT_BOOTPD=3DYES WITHOUT_BSNMP=3DYES WITHOUT_CALENDAR=3DYES WITHOUT_CAPSICUM=3DYES WITHOUT_CASPER=3DYES WITHOUT_CCD=3DYES WITHOUT_CDDL=3DYES WITHOUT_CROSS_COMPILER=3DYES WITHOUT_CTM=3DYES WITHOUT_CUSE=3DYES WITHOUT_CXGBETOOL=3DYES WITHOUT_DEBUG_FILES=3DYES WITHOUT_DICT=3DYES WITHOUT_DMAGENT=3DYES WITHOUT_ED_CRYPTO=3DYES WITHOUT_EXAMPLES=3DYES WITHOUT_FDT=3DYES WITHOUT_FINGER=3DYES WITHOUT_FLOPPY=3DYES WITHOUT_FTP=3DYES WITHOUT_GAMES=3DYES WITHOUT_GCC=3DYES WITHOUT_GCC_BOOTSTRAP=3DYES WITH_GCC_BOOTSTRAP=3DYES WITHOUT_GCOV=3DYES WITHOUT_GDB=3DYES WITHOUT_GDB_LIBEXEC=3DYES WITHOUT_GPIO=3DYES WITHOUT_GSSAPI=3DYES WITHOUT_HAST=3DYES WITHOUT_HTML=3DYES WITHOUT_HYPERV=3DYES WITHOUT_IPFILTER=3DYES WITHOUT_ISCSI=3DYES WITHOUT_JAIL=3DYES WITHOUT_KDUMP=3DYES WITHOUT_KERBEROS=3DYES WITHOUT_KERBEROS_SUPPORT=3DYES WITHOUT_KERNEL_SYMBOLS=3DYES WITHOUT_KVM=3DYES WITHOUT_LDNS=3DYES WITHOUT_LDNS_UTILS=3DYES # WITHOUT_LEGACY_CONSOLE=3DYES # -- only on x64 WITHOUT_LIB32=3DYES WITHOUT_LLDB=3DYES WITHOUT_LLVM_TARGET_AARCH64=3DYES WITHOUT_LLVM_TARGET_ARM=3DYES WITHOUT_LLVM_TARGET_MIPS=3DYES WITHOUT_LLVM_TARGET_POWERPC=3DYES WITHOUT_LLVM_TARGET_SPARC=3DYES WITHOUT_LPR=3DYES WITHOUT_MAILWRAPPER=3DYES WITHOUT_MAN=3DYES WITHOUT_MAN_UTILS=3DYES WITHOUT_MLX5TOOL=3DYES WITHOUT_MODULE_DRM=3DYES WITHOUT_MODULE_DRM2=3DYES WITHOUT_NDIS=3DYES WITHOUT_NETGRAPH=3DYES WITHOUT_NIS=3DYES WITHOUT_NLS=3DYES WITHOUT_NTP=3DYES WITHOUT_OPENSSH=3DYES # WITHOUT_OPENSSL=3DYES WITHOUT_PF=3DYES WITHOUT_PMC=3DYES WITHOUT_PPP=3DYES WITHOUT_PROFILE=3DYES WITHOUT_QUOTAS=3DYES WITHOUT_RADIUS_SUPPORT=3DYES WITHOUT_RBOOTD=3DYES ## kurtarma gerekti=C4=9Finde sorun olur mu? WITHOUT_RESCUE=3DYES ## nat etkilenir mi? WITHOUT_ROUTED=3DYES WITHOUT_SENDMAIL=3DYES WITHOUT_SHAREDOCS=3DYES WITHOUT_SSP=3DYES WITHOUT_TALK=3DYES WITHOUT_TCP_WRAPPERS=3DYES WITHOUT_TFTP=3DYES WITHOUT_TIMED=3DYES WITHOUT_USB=3DYES WITHOUT_VI=3DYES WITHOUT_WIRELESS=3DYES WITHOUT_WPA_SUPPLICANT_EAPOL=3DYES ##### Error at compilation #### libtool: link: cc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -O2 -pipe -fno-strict-aliasing -march=3Dhaswell -fstack-protector-strong -i= system /usr/local/include -static -fstack-protector-strong -o windres windres.o resrc.o rescoff.o resbin.o rcparse.o rclex.o winduni.o resres.o bucomm.o version.o filemode.o /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/l= ib=20 ../bfd/.libs/libbfd.a -L/usr/local/lib -lz ../libiberty/libiberty.a -lfl ld: error: attempted static link of dynamic object /usr/local/lib/libiconv.= so cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[10]: *** [Makefile:976: windres] Error 1 gmake[10]: Leaving directory '/usr/ports/devel/binutils/work-native/binutils-2.33.1/binutils' gmake[9]: *** [Makefile:1130: all-recursive] Error 1 gmake[9]: Leaving directory '/usr/ports/devel/binutils/work-native/binutils-2.33.1/binutils' gmake[8]: *** [Makefile:757: all] Error 2 gmake[8]: Leaving directory '/usr/ports/devel/binutils/work-native/binutils-2.33.1/binutils' gmake[7]: *** [Makefile:3612: all-binutils] Error 2 gmake[7]: Leaving directory '/usr/ports/devel/binutils/work-native/binutils-2.33.1' gmake[6]: *** [Makefile:851: all] Error 2 gmake[6]: Leaving directory '/usr/ports/devel/binutils/work-native/binutils-2.33.1' =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make[5]: stopped in /usr/ports/devel/binutils *** Error code 1 Stop. make[4]: stopped in /usr/ports/devel/binutils *** Error code 1 Stop. make[3]: stopped in /usr/ports/devel/llvm90 *** Error code 1 Stop. make[2]: stopped in /usr/ports/devel/llvm90 *** Error code 1 Stop. make[1]: stopped in /usr/ports/databases/postgresql12-server *** Error code 1 Stop. make: stopped in /usr/ports/databases/postgresql12-server --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246811-7788>