[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:52 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242698

            Bug ID: 242698
           Summary: [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
           Product: Ports & Packages
           Version: Latest
          Hardware: powerpc
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: apache at FreeBSD.org
          Reporter: canardo909 at gmx.com
                CC: powerpc at FreeBSD.org
          Assignee: apache at FreeBSD.org
             Flags: maintainer-feedback?(apache at FreeBSD.org)
                CC: powerpc at FreeBSD.org

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list