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
Summary: [PowerPC] www/apache24 fails to build on FreeBSD 12.1-RELEASE-p1 32 bit: liba...
Status: Closed DUPLICATE of bug 242680
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Only Me
Assignee: Kubilay Kocak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-18 10:19 UTC by canardo
Modified: 2019-12-20 04:58 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description canardo 2019-12-18 10:19:49 UTC
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
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2019-12-20 04:58:37 UTC

*** This bug has been marked as a duplicate of bug 242680 ***