[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

[email protected]
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]/bugzilla/>
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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
          Assignee: [email protected]
             Flags: maintainer-feedback?([email protected])
                CC: [email protected]

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 on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.