Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2019 19:45:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        office@FreeBSD.org
Subject:   maintainer-feedback requested: [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'
Message-ID:  <bug-242745-25061-IYupBMU0Mj@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-242745-25061@https.bugs.freebsd.org/bugzilla/>
References:  <bug-242745-25061@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-office mailing
list <office@FreeBSD.org> for maintainer-feedback:
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'
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242745



--- Description ---
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=20
# make -DBATCH install clean
=3D=3D=3D>  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  bu=
ild=20

gmake[2]: Entering directory
'/usr/ports/editors/libreoffice/work/libreoffice-6.3.4.2'
[LNK] Executable/cppumaker
S=3D/usr/ports/editors/libreoffice/work/libreoffice-6.3.4.2 && I=3D$S/instd=
ir &&
W=3D$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=20
-Wl,--hash-style=3Dgnu  -Wl,-Bsymbolic-functions -L$W/LinkTarget/StaticLibr=
ary
-L$I/sdk/lib  -L$I/program -L/usr/local/lib  -fstack-protector-strong
-Wl,-rpath=3D/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=20
/usr/local/bin/ld:
/usr/ports/editors/libreoffice/work/libreoffice-6.3.4.2/instdir/sdk/lib/lib=
uno_
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/lib=
uno_
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/lib=
uno_
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/Executab=
le_c
ppumaker.mk:10:
/usr/ports/editors/libreoffice/work/libreoffice-6.3.4.2/instdir/sdk/bin/cpp=
umak
er]
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'
=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/editors/libreoffice



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