FreeBSD Bugzilla – Attachment 216793 Details for
Bug 248289
net/haproxy: Fails to link on i386: undefined reference to `__atomic_*`
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Poudriere log
haproxy-2.2.1.log (text/plain), 16.12 KB, created by
Victor Sudakov
on 2020-07-27 04:59:21 UTC
(
hide
)
Description:
Poudriere log
Filename:
MIME Type:
Creator:
Victor Sudakov
Created:
2020-07-27 04:59:21 UTC
Size:
16.12 KB
patch
obsolete
>=>> Building net/haproxy >build started at Mon Jul 27 11:11:22 +07 2020 >port directory: /usr/ports/net/haproxy >package name: haproxy-2.2.1 >building for: FreeBSD 114i386-default-job-04 11.4-RELEASE-p1 FreeBSD 11.4-RELEASE-p1 i386 >maintained by: demon@FreeBSD.org >Makefile ident: $FreeBSD: head/net/haproxy/Makefile 543451 2020-07-26 08:32:41Z demon $ >Poudriere version: 3.3.99.20200326 >Host OSVERSION: 1201000 >Jail OSVERSION: 1104001 >Job Id: 04 > >---Begin Environment--- >SHELL=/bin/csh >UNAME_p=i386 >UNAME_m=i386 >OSVERSION=1104001 >UNAME_v=FreeBSD 11.4-RELEASE-p1 >UNAME_r=11.4-RELEASE-p1 >BLOCKSIZE=K >STATUS=1 >HOME=/root >PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin >LOCALBASE=/usr/local >USER=root >LIBEXECPREFIX=/usr/local/libexec/poudriere >POUDRIERE_VERSION=3.3.99.20200326 >MASTERMNT=/poudriere/data/.m/114i386-default/ref >LC_COLLATE=C >POUDRIERE_BUILD_TYPE=bulk >PACKAGE_BUILDING=yes >SAVED_TERM=screen >OUTPUT_REDIRECTED_STDERR=4 >OUTPUT_REDIRECTED=1 >PWD=/poudriere/data/.m/114i386-default/ref/.p/pool >OUTPUT_REDIRECTED_STDOUT=3 >P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS >MASTERNAME=114i386-default >SCRIPTPREFIX=/usr/local/share/poudriere >OLDPWD=/poudriere/data/.m/114i386-default/ref/.p >SCRIPTPATH=/usr/local/share/poudriere/bulk.sh >POUDRIEREPATH=/usr/local/bin/poudriere >---End Environment--- > >---Begin Poudriere Port Flags/Env--- >PORT_FLAGS= >PKGENV= >FLAVOR= >DEPENDS_ARGS= >MAKE_ARGS= >---End Poudriere Port Flags/Env--- > >---Begin OPTIONS List--- >===> The following configuration options are available for haproxy-2.2.1: > DEVICEATLAS=off: DeviceAtlas Device Detection support > DOCS=on: Build and/or install documentation > EXAMPLES=on: Build and/or install examples > LUA=off: Lua scripting language support > OPENSSL=on: SSL/TLS support via OpenSSL > PROMEX=off: Enable Prometheus exporter >====> Use Perl Compatible Regular Expressions: you can only select none or one of them > DPCRE=off: Link dynamically > SPCRE=on: Link statically >===> Use 'make config' to modify these settings >---End OPTIONS List--- > >--MAINTAINER-- >demon@FreeBSD.org >--End MAINTAINER-- > >--CONFIGURE_ARGS-- > >--End CONFIGURE_ARGS-- > >--CONFIGURE_ENV-- >MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/net/haproxy/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/haproxy/work HOME=/wrkdirs/usr/ports/net/haproxy/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/haproxy/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh >--End CONFIGURE_ENV-- > >--MAKE_ENV-- >OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/net/haproxy/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/haproxy/work HOME=/wrkdirs/usr/ports/net/haproxy/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/haproxy/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" >--End MAKE_ENV-- > >--PLIST_SUB-- >PORTDOCS="" PORTEXAMPLES="" OSREL=11.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/haproxy" EXAMPLESDIR="share/examples/haproxy" DATADIR="share/haproxy" WWWDIR="www/haproxy" ETCDIR="etc/haproxy" >--End PLIST_SUB-- > >--SUB_LIST-- > PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/haproxy DOCSDIR=/usr/local/share/doc/haproxy EXAMPLESDIR=/usr/local/share/examples/haproxy WWWDIR=/usr/local/www/haproxy ETCDIR=/usr/local/etc/haproxy >--End SUB_LIST-- > >---Begin make.conf--- >USE_PACKAGE_DEPENDS=yes >BATCH=yes >WRKDIRPREFIX=/wrkdirs >PORTSDIR=/usr/ports >PACKAGES=/packages >DISTDIR=/distfiles >FORCE_PACKAGE=yes >PACKAGE_BUILDING=yes >PACKAGE_BUILDING_FLAVORS=yes >MACHINE=i386 >MACHINE_ARCH=i386 >ARCH=${MACHINE_ARCH} >#### /usr/local/etc/poudriere.d/make.conf #### ># by VAS >OPTIONS_UNSET= NLS CUPS BDB X11 LLDB >OPTIONS_SET= DOCS MANPAGES >DEFAULT_VERSIONS+=pgsql=12 php=7.2 >DISABLE_LICENSES=yes > >WITH_CCACHE_BUILD=yes >CCACHE_DIR=/root/.ccache >#### /usr/ports/Mk/Scripts/ports_env.sh #### >_CCVERSION_921dbbb2=FreeBSD clang version 10.0.0 (git@github.com:llvm/llvm-project.git llvmorg-10.0.0-0-gd32170dbd5b) Target: i386-unknown-freebsd11.4 Thread model: posix InstalledDir: /usr/bin >_ALTCCVERSION_921dbbb2=none >_CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.0 (git@github.com:llvm/llvm-project.git llvmorg-10.0.0-0-gd32170dbd5b) Target: i386-unknown-freebsd11.4 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" >CC_OUTPUT_921dbbb2_58173849=yes >CC_OUTPUT_921dbbb2_9bdba57c=yes >CC_OUTPUT_921dbbb2_6a4fe7f5=yes >CC_OUTPUT_921dbbb2_6bcac02b=yes >CC_OUTPUT_921dbbb2_67d20829=yes >CC_OUTPUT_921dbbb2_bfa62e83=yes >CC_OUTPUT_921dbbb2_f0b4d593=yes >CC_OUTPUT_921dbbb2_308abb44=yes >CC_OUTPUT_921dbbb2_f00456e5=yes >CC_OUTPUT_921dbbb2_65ad290d=yes >CC_OUTPUT_921dbbb2_f2776b26=yes >CC_OUTPUT_921dbbb2_b2657cc3=yes >CC_OUTPUT_921dbbb2_380987f7=yes >CC_OUTPUT_921dbbb2_160933ec=yes >CC_OUTPUT_921dbbb2_fb62803b=yes >_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 10.0.0 (git@github.com:llvm/llvm-project.git llvmorg-10.0.0-0-gd32170dbd5b) Target: i386-unknown-freebsd11.4 Thread model: posix InstalledDir: /usr/bin >_OBJC_ALTCCVERSION_921dbbb2=none >ARCH=i386 >OPSYS=FreeBSD >_OSRELEASE=11.4-RELEASE-p1 >OSREL=11.4 >OSVERSION=1104001 >PYTHONBASE=/usr/local >_SMP_CPUS=4 >CONFIGURE_MAX_CMD_LEN=262144 >HAVE_PORTS_ENV=1 >#### Misc Poudriere #### >GID=0 >UID=0 >DISABLE_MAKE_JOBS=poudriere >---End make.conf--- >--Resource limits-- >cpu time (seconds, -t) unlimited >file size (512-blocks, -f) unlimited >data seg size (kbytes, -d) 524288 >stack size (kbytes, -s) 65536 >core file size (512-blocks, -c) unlimited >max memory size (kbytes, -m) unlimited >locked memory (kbytes, -l) unlimited >max user processes (-u) 10342 >open files (-n) 1024 >virtual mem size (kbytes, -v) unlimited >swap limit (kbytes, -w) unlimited >socket buffer size (bytes, -b) unlimited >pseudo-terminals (-p) unlimited >kqueues (-k) unlimited >umtx shared locks (-o) unlimited >--End resource limits-- >=======================<phase: check-sanity >============================ >=========================================================================== >=======================<phase: pkg-depends >============================ >===> haproxy-2.2.1 depends on file: /usr/local/sbin/pkg - not found >===> Installing existing package /packages/All/pkg-1.14.6.txz >[114i386-default-job-04] Installing pkg-1.14.6... >[114i386-default-job-04] Extracting pkg-1.14.6: .......... done >===> haproxy-2.2.1 depends on file: /usr/local/sbin/pkg - found >===> Returning to build of haproxy-2.2.1 >=========================================================================== >=======================<phase: fetch-depends >============================ >=========================================================================== >=======================<phase: fetch >============================ >===> Fetching all distfiles required by haproxy-2.2.1 for building >=========================================================================== >=======================<phase: checksum >============================ >===> Fetching all distfiles required by haproxy-2.2.1 for building >=> SHA256 Checksum OK for haproxy-2.2.1.tar.gz. >=========================================================================== >=======================<phase: extract-depends>============================ >=========================================================================== >=======================<phase: extract >============================ >===> Fetching all distfiles required by haproxy-2.2.1 for building >===> Extracting for haproxy-2.2.1 >=> SHA256 Checksum OK for haproxy-2.2.1.tar.gz. >=========================================================================== >=======================<phase: patch-depends >============================ >=========================================================================== >=======================<phase: patch >============================ >===> Patching for haproxy-2.2.1 >===> Applying FreeBSD patches for haproxy-2.2.1 from /usr/ports/net/haproxy/files >=========================================================================== >=======================<phase: build-depends >============================ >===> haproxy-2.2.1 depends on package: gmake>=4.3 - not found >===> Installing existing package /packages/All/gmake-4.3_2.txz >[114i386-default-job-04] Installing gmake-4.3_2... >[114i386-default-job-04] `-- Installing indexinfo-0.3.1... >[114i386-default-job-04] `-- Extracting indexinfo-0.3.1: . done >[114i386-default-job-04] Extracting gmake-4.3_2: ...... done >===> haproxy-2.2.1 depends on package: gmake>=4.3 - found >===> Returning to build of haproxy-2.2.1 >===> haproxy-2.2.1 depends on file: /usr/local/bin/ccache - not found >===> Installing existing package /packages/All/ccache-3.7.1_1.txz >[114i386-default-job-04] Installing ccache-3.7.1_1... >[114i386-default-job-04] Extracting ccache-3.7.1_1: ......... done >Create compiler links... >create symlink for cc >create symlink for cc (world) >create symlink for c++ >create symlink for c++ (world) >create symlink for CC >create symlink for CC (world) >create symlink for clang >create symlink for clang (world) >create symlink for clang++ >create symlink for clang++ (world) >===== >Message from ccache-3.7.1_1: > >-- >NOTE: >Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for >information on using ccache with FreeBSD ports and src. >===> haproxy-2.2.1 depends on file: /usr/local/bin/ccache - found >===> Returning to build of haproxy-2.2.1 >=========================================================================== >=======================<phase: lib-depends >============================ >===> haproxy-2.2.1 depends on shared library: libpcre.so - not found >===> Installing existing package /packages/All/pcre-8.44.txz >[114i386-default-job-04] Installing pcre-8.44... >[114i386-default-job-04] `-- Installing readline-8.0.4... >[114i386-default-job-04] `-- Extracting readline-8.0.4: .......... done >[114i386-default-job-04] Extracting pcre-8.44: .......... done >===> haproxy-2.2.1 depends on shared library: libpcre.so - found (/usr/local/lib/libpcre.so) >===> Returning to build of haproxy-2.2.1 >=========================================================================== >=======================<phase: configure >============================ >===> Configuring for haproxy-2.2.1 >=========================================================================== >=======================<phase: build >============================ >===> Building for haproxy-2.2.1 >gmake[1]: Entering directory '/wrkdirs/usr/ports/net/haproxy/work/haproxy-2.2.1' > CC src/ev_poll.o > CC src/ev_kqueue.o > CC src/ssl_sample.o > CC src/ssl_sock.o > CC src/ssl_crtlist.o > CC src/ssl_ckch.o > CC src/ssl_utils.o > CC src/cfgparse-ssl.o > CC src/mux_fcgi.o > CC src/mux_h1.o > CC src/mux_h2.o > CC src/backend.o > CC src/cfgparse.o > CC src/cli.o > CC src/cfgparse-listen.o > CC src/stats.o > CC src/http_ana.o > CC src/stream.o > CC src/check.o > CC src/sample.o > CC src/tools.o > CC src/server.o > CC src/listener.o > CC src/tcpcheck.o > CC src/pattern.o > CC src/log.o > CC src/stick_table.o >src/stick_table.c:3462:12: warning: result of comparison 'unsigned long' > 4294967295 is always false [-Wtautological-type-limit-compare] > val > 0xffffffff) > ~~~ ^ ~~~~~~~~~~ >1 warning generated. > CC src/flt_spoe.o > CC src/stream_interface.o > CC src/filters.o > CC src/http_fetch.o > CC src/map.o > CC src/session.o > CC src/sink.o > CC src/flt_http_comp.o > CC src/debug.o > CC src/tcp_rules.o > CC src/haproxy.o > CC src/peers.o > CC src/flt_trace.o > CC src/queue.o > CC src/proxy.o > CC src/http_htx.o > CC src/dns.o > CC src/raw_sock.o > CC src/pool.o > CC src/http_act.o > CC src/http_rules.o > CC src/compression.o > CC src/cfgparse-global.o > CC src/payload.o > CC src/signal.o > CC src/activity.o > CC src/mworker.o > CC src/cache.o > CC src/proto_uxst.o > CC src/lb_chash.o > CC src/connection.o > CC src/proto_tcp.o > CC src/http_conv.o > CC src/arg.o > CC src/lb_fas.o > CC src/xprt_handshake.o > CC src/fcgi-app.o > CC src/applet.o > CC src/acl.o > CC src/task.o > CC src/ring.o > CC src/vars.o > CC src/trace.o > CC src/mux_pt.o > CC src/xxhash.o > CC src/mworker-prog.o > CC src/h1_htx.o > CC src/frontend.o > CC src/extcheck.o > CC src/channel.o > CC src/action.o > CC src/mailers.o > CC src/proto_sockpair.o > CC src/ebmbtree.o > CC src/thread.o > CC src/lb_fwrr.o > CC src/time.o > CC src/regex.o > CC src/lb_fwlc.o > CC src/htx.o > CC src/h2.o > CC src/hpack-tbl.o > CC src/lru.o > CC src/wdt.o > CC src/lb_map.o > CC src/eb32sctree.o > CC src/ebistree.o > CC src/h1.o > CC src/sha1.o > CC src/http.o > CC src/fd.o > CC src/ev_select.o > CC src/chunk.o > CC src/hash.o > CC src/hpack-dec.o > CC src/freq_ctr.o > CC src/http_acl.o > CC src/dynbuf.o > CC src/uri_auth.o > CC src/protocol.o > CC src/auth.o > CC src/ebsttree.o > CC src/pipe.o > CC src/hpack-enc.o > CC src/fcgi.o > CC src/eb64tree.o > CC src/dict.o > CC src/shctx.o > CC src/ebimtree.o > CC src/eb32tree.o > CC src/ebtree.o > CC src/dgram.o > CC src/hpack-huff.o > CC src/base64.o > CC src/version.o > LD haproxy >src/backend.o: In function `assign_server': >backend.c:(.text+0xd20): undefined reference to `__atomic_fetch_add_8' >backend.c:(.text+0xd32): undefined reference to `__atomic_fetch_add_8' >src/backend.o: In function `assign_server_and_queue': >backend.c:(.text+0x1520): undefined reference to `__atomic_fetch_add_8' >backend.c:(.text+0x153a): undefined reference to `__atomic_fetch_add_8' >backend.c:(.text+0x160a): undefined reference to `__atomic_fetch_add_8' >src/backend.o:backend.c:(.text+0x1624): more undefined references to `__atomic_fetch_add_8' follow >src/trace.o: In function `cli_parse_trace': >trace.c:(.text+0xd88): undefined reference to `__atomic_compare_exchange_8' >trace.c:(.text+0xe89): undefined reference to `__atomic_compare_exchange_8' >trace.c:(.text+0xf1c): undefined reference to `__atomic_compare_exchange_8' >trace.c:(.text+0x11f8): undefined reference to `__atomic_fetch_and_8' >trace.c:(.text+0x16e8): undefined reference to `__atomic_fetch_or_8' >src/time.o: In function `tv_update_date': >time.c:(.text+0x67f): undefined reference to `__atomic_compare_exchange_8' >time.c:(.text+0x867): undefined reference to `__atomic_compare_exchange_8' >cc: error: linker command failed with exit code 1 (use -v to see invocation) >gmake[1]: *** [Makefile:864: haproxy] Error 1 >gmake[1]: Leaving directory '/wrkdirs/usr/ports/net/haproxy/work/haproxy-2.2.1' >*** Error code 1 > >Stop. >make: stopped in /usr/ports/net/haproxy >=>> Cleaning up wrkdir >===> Cleaning for haproxy-2.2.1 >build of net/haproxy | haproxy-2.2.1 ended at Mon Jul 27 11:11:37 +07 2020 >build time: 00:00:15 >!!! build failure encountered !!!
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 248289
: 216793