Hi Folks,
I haven't seen a fix go by, and have seen nothing mentioned on the list
regarding building the splash part of desktop, but I'm having an issue
that appears to be solved by switching to g++ instead of gcc:
-----
$ cd desktop
$ build
[...snip...]
Entering /home/kevin/devel/libreoffice/desktop/unx/source
Making: oosplash
ccache /usr/local/bin/gcc -Wl,-z,noexecstack -Wl,-z,combreloc
-Wl,-z,defs -Wl,-Bsymbolic-functions -Wl,--dynamic-list-cpp-new
-Wl,--dynamic-list-cpp-typeinfo -Wl,--hash-style=gnu -g -g
-Wl,-rpath,'$ORIGIN:$ORIGIN/../basis-link/program:$ORIGIN/../basis-link/ure-link/lib',--enable-new-dtags
-Wl,-export-dynamic
-Wl,-rpath-link,../../unxlngx6/lib:/home/kevin/devel/libreoffice/solver/350/unxlngx6/lib:/lib:/usr/lib
-L../../unxlngx6/lib -L../lib
-L/home/kevin/devel/libreoffice/solenv/unxlngx6/lib
-L/home/kevin/devel/libreoffice/solver/350/unxlngx6/lib
-L/home/kevin/devel/libreoffice/solenv/unxlngx6/lib
../../unxlngx6/obj/splashx.o ../../unxlngx6/obj/start.o
../../unxlngx6/obj/args.o ../../unxlngx6/obj/pagein.o
../../unxlngx6/obj/file_image_unx.o \
-lpthread -Wl,--as-needed -lXext -lX11 -Wl,--no-as-needed -luno_sal
-lpng12 -lXinerama -o ../../unxlngx6/bin/oosplash
/home/kevin/devel/libreoffice/solver/350/unxlngx6/lib/libuno_sal.so:
undefined reference to
`std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)@GLIBCXX_3.4.15'
collect2: ld returned 1 exit status
dmake: Error code 1, while making '../../unxlngx6/bin/oosplash'
-----
By executing that line manually and switching to /usr/local/bin/g++ the
compile is successful. And that point I can restart the build and LO
finishes with a successful build.
It looks like the source of those files is C, but the libuno_sal is a
.cpp file. I'm not clear on the linking rules bewteen the C and CPP,
but given that no one else is having this issue, is there something else
that I'm missing?
Thanks,
Kevin
Context
- [Libreoffice] gcc/g++ compilation issue in desktop/splash · Kevin Hunter
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.