[Bug 242745] editors/libreoffice: Fails to build on FreeBSD 12.1-RELEASE-p1 32 bit: lib/libuno_sal.so: undefined reference to `__atomic_*`

[email protected]
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242745

--- Comment #4 from canardo <[email protected]> ---
Error still present when building LibreOffice 7.0.1.2 with FreeBSD 12.2-BETA1
r365618 GENERIC  powerpc

[LNK] Executable/cppumaker
S=/usr/ports/editors/libreoffice/work/libreoffice-7.0.1.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-7.0.1.2/instdir/sdk/lib/libuno_sal.so:
undefined reference to `__atomic_load_8'
/usr/local/bin/ld:
/usr/ports/editors/libreoffice/work/libreoffice-7.0.1.2/instdir/sdk/lib/libuno_sal.so:
undefined reference to `__atomic_store_8'
/usr/local/bin/ld:
/usr/ports/editors/libreoffice/work/libreoffice-7.0.1.2/instdir/sdk/lib/libuno_sal.so:
undefined reference to `__atomic_fetch_add_8'
collect2: error: ld returned 1 exit status

-- 
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.