[Bug 242745] [PowerPC] editors/libreoffice fails to build on FreeBSD 12.1-RELEASE-p1 32 bit: lib/libuno_sal.so: undefined reference to `__atomic_load_8'
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Dec 20 19:45:38 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242745
Bug ID: 242745
Summary: [PowerPC] editors/libreoffice fails to build on
FreeBSD 12.1-RELEASE-p1 32 bit: lib/libuno_sal.so:
undefined reference to `__atomic_load_8'
Product: Ports & Packages
Version: Latest
Hardware: powerpc
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: office at FreeBSD.org
Reporter: canardo909 at gmx.com
CC: powerpc at FreeBSD.org
Assignee: office at FreeBSD.org
CC: powerpc at FreeBSD.org
Flags: maintainer-feedback?(office at FreeBSD.org)
Problem found when building editors/libreoffice on FreeBSD 12.1-RELEASE-p1
powerpc 32 bit, running on Apple Powerbook 17".
# cd /usr/ports/editors/libreoffice
# make -DBATCH install clean
===> Building for libreoffice-6.3.4
gmake[1]: Entering directory
'/usr/ports/editors/libreoffice/work/libreoffice-6.3.4.2'
Automatic fetching of external tarballs is disabled.
mkdir -p /usr/ports/editors/libreoffice/work/libreoffice-6.3.4.2/instdir
/usr/ports/editors/libreoffice/work/libreoffice-6.3.4.2/solenv/bin/install-gdb-printers
-a /usr/ports/editors/libreoffice/work/libreoffice-6.3.4.2/instdir -c
gmake -j 1 -r -f
/usr/ports/editors/libreoffice/work/libreoffice-6.3.4.2/Makefile.gbuild build
gmake[2]: Entering directory
'/usr/ports/editors/libreoffice/work/libreoffice-6.3.4.2'
[LNK] Executable/cppumaker
S=/usr/ports/editors/libreoffice/work/libreoffice-6.3.4.2 && I=$S/instdir &&
W=$S/workdir && g++9 -pthread -Wl,-z,origin
'-Wl,-rpath,$ORIGIN/../../program' -Wl,-rpath-link,$I/program
-fstack-protector-strong -Wl,-rpath-link,/lib:/usr/lib -Wl,-z,combreloc
-Wl,--hash-style=gnu -Wl,-Bsymbolic-functions -L$W/LinkTarget/StaticLibrary
-L$I/sdk/lib -L$I/program -L/usr/local/lib -fstack-protector-strong
-Wl,-rpath=/usr/local/lib/gcc9 -L/usr/local/lib/gcc9 -L/usr/local/lib
-R/usr/local/lib $W/CxxObject/codemaker/source/cppumaker/cppumaker.o
$W/CxxObject/codemaker/source/cppumaker/cppuoptions.o
$W/CxxObject/codemaker/source/cppumaker/cpputype.o
$W/CxxObject/codemaker/source/cppumaker/dependencies.o
$W/CxxObject/codemaker/source/cppumaker/dumputils.o
$W/CxxObject/codemaker/source/cppumaker/includes.o -Wl,--start-group
$W/LinkTarget/StaticLibrary/libcodemaker_cpp.a
$W/LinkTarget/StaticLibrary/libcodemaker.a -Wl,--end-group
-Wl,--no-as-needed -lunoidllo -luno_salhelpergcc3 -luno_sal -o
$I/sdk/bin/cppumaker
/usr/local/bin/ld:
/usr/ports/editors/libreoffice/work/libreoffice-6.3.4.2/instdir/sdk/lib/libuno_sal.so:
undefined reference to `__atomic_load_8'
/usr/local/bin/ld:
/usr/ports/editors/libreoffice/work/libreoffice-6.3.4.2/instdir/sdk/lib/libuno_sal.so:
undefined reference to `__atomic_store_8'
/usr/local/bin/ld:
/usr/ports/editors/libreoffice/work/libreoffice-6.3.4.2/instdir/sdk/lib/libuno_sal.so:
undefined reference to `__atomic_fetch_add_8'
collect2: error: ld returned 1 exit status
gmake[2]: ***
[/usr/ports/editors/libreoffice/work/libreoffice-6.3.4.2/codemaker/Executable_cppumaker.mk:10:
/usr/ports/editors/libreoffice/work/libreoffice-6.3.4.2/instdir/sdk/bin/cppumaker]
Error 1
gmake[2]: Leaving directory
'/usr/ports/editors/libreoffice/work/libreoffice-6.3.4.2'
gmake[1]: *** [Makefile:282: build] Error 2
gmake[1]: Leaving directory
'/usr/ports/editors/libreoffice/work/libreoffice-6.3.4.2'
===> 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/editors/libreoffice
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ppc
mailing list