maintainer-feedback requested: [Bug 242698] [PowerPC] www/apache24 fails to build on FreeBSD 12.1-RELEASE-p1 32 bit: libapr-1.so: undefined reference to __sync_val_compare_and_swap_8

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 18 10:19:51 UTC 2019


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-apache mailing
list <apache at FreeBSD.org> for maintainer-feedback:
Bug 242698: [PowerPC] www/apache24 fails to build on FreeBSD 12.1-RELEASE-p1 32
bit: libapr-1.so: undefined reference to __sync_val_compare_and_swap_8
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242698



--- Description ---
Problem found when building www/apache24 on FreeBSD 12.1-RELEASE-p1 powerpc 32
bit, running on Apple Powerbook 17". 



# cd /usr/ports/www/apache24 
# make install clean
===>  Building for apache24-2.4.41
Making all in srclib
Making all in os
.....
.....
Making all in mappers
Making all in support
/usr/local/share/apr/build-1/libtool --silent --mode=link gcc9	  -O2 -pipe
-DLIBICONV_PLUG -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9
-fno-strict-aliasing	-L/usr/local/lib -L/usr/local/lib/db5 
-fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9 -L/usr/local/lib/gcc9
-o htpasswd  htpasswd.lo passwd_common.lo      -L/usr/local/lib
-R/usr/local/lib -laprutil-1 -ldb-5.3 -lgdbm -lexpat -L/usr/local/lib
-R/usr/local/lib -lapr-1 -lcrypt -lpthread -lcrypt
/usr/local/bin/ld: /usr/local/lib/libapr-1.so: undefined reference to
`__sync_val_compare_and_swap_8'
/usr/local/bin/ld: /usr/local/lib/libapr-1.so: undefined reference to
`__sync_lock_test_and_set_8'
/usr/local/bin/ld: /usr/local/lib/libapr-1.so: undefined reference to
`__sync_sub_and_fetch_8'
/usr/local/bin/ld: /usr/local/lib/libapr-1.so: undefined reference to
`__sync_fetch_and_sub_8'
/usr/local/bin/ld: /usr/local/lib/libapr-1.so: undefined reference to
`__sync_fetch_and_add_8'
collect2: error: ld returned 1 exit status
*** [htpasswd] Error code 1

make[3]: stopped in /usr/ports/www/apache24/work/httpd-2.4.41/support
1 error

make[3]: stopped in /usr/ports/www/apache24/work/httpd-2.4.41/support
*** [all-recursive] Error code 1

make[2]: stopped in /usr/ports/www/apache24/work/httpd-2.4.41/support
1 error

make[2]: stopped in /usr/ports/www/apache24/work/httpd-2.4.41/support
*** [all-recursive] Error code 1

make[1]: stopped in /usr/ports/www/apache24/work/httpd-2.4.41
1 error

make[1]: stopped in /usr/ports/www/apache24/work/httpd-2.4.41
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/www/apache24


More information about the freebsd-apache mailing list