[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PSPP-BUG: [bug #63606] Underlinking of liboutput

From: Michael Orlitzky
Subject: PSPP-BUG: [bug #63606] Underlinking of liboutput
Date: Sun, 1 Jan 2023 09:24:22 -0500 (EST)


                 Summary: Underlinking of liboutput
                 Project: PSPP
               Submitter: mjo
               Submitted: Sun 01 Jan 2023 02:24:20 PM UTC
                Category: Compilation/Portability
                Severity: 5 - Average
                  Status: None
             Assigned to: None
             Open/Closed: Open
                 Release: None
         Discussion Lock: Any
                  Effort: 0.00


Follow-up Comments:

Date: Sun 01 Jan 2023 02:24:20 PM UTC By: Michael Orlitzky <mjo>
We have an old bug in Gentoo,


for an older version of pspp. While trying to reproduce this with either the
lld or mold linkers and "-Wl,--as-needed" in my LDFLAGS, I get the following
build failure:

(cd "./examples" \
../doc/pspp-figures/chisquare.sps -o - -O format=spv) >
symbol lookup error:
undefined symbol: pango_font_description_free

So, the build of pspp succeeded, but it has some unresolved symbols, stemming
from libpspp. I've tracked this down, and I believe it's due to $(CAIRO_LIBS)
being missing from src_output_liboutput_la_LIBADD. I wasn't able to get the
git build working, but hacking $(CAIRO_LIBS) into that variable in the
top-level Makefile fixed the issue for me.

Looking through the source, it looks like liboutput should also be linked with
libxml2, but there are presently no observable problems caused by it. However,
the Gentoo bug report that started my investigation looks like it might have
been caused by that, so if liboutput is indeed using libxml2 stuff, I think
the libxml2 libs should also be appended to src_output_liboutput_la_LIBADD to
prevent similar issues in the future.


Reply to this item at:


Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]