Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Dec 2019 10:19:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        powerpc@FreeBSD.org
Subject:   [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
Message-ID:  <bug-242698-25139@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242698

            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@FreeBSD.org
          Reporter: canardo909@gmx.com
                CC: powerpc@FreeBSD.org
          Assignee: apache@FreeBSD.org
             Flags: maintainer-feedback?(apache@FreeBSD.org)
                CC: powerpc@FreeBSD.org

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



# cd /usr/ports/www/apache24=20
# make install clean
=3D=3D=3D>  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=3Dlink gcc9    -O2 -pi=
pe
-DLIBICONV_PLUG -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc9
-fno-strict-aliasing    -L/usr/local/lib -L/usr/local/lib/db5=20
-fstack-protector-strong -Wl,-rpath=3D/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
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

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

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242698-25139>