gpsd-dev
[Top][All Lists]
Advanced

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

Re: testing status


From: Bernd Zeimetz
Subject: Re: testing status
Date: Mon, 23 Dec 2019 05:57:27 +0100
User-agent: K-9 Mail for Android

In Debian I have similar problems with the hardening flags. Scons seems to drop some of them.

I could imagine it doesn't know about -R because that is -Wl,-rpath on Linux.

Or the way these flags are handled in SConstruct is still broken. It got better with my change, but there is clearly something missing.

Am 23. Dezember 2019 00:14:19 MEZ schrieb Greg Troxel <address@hidden>:
Bernd Zeimetz <address@hidden> writes:

On 12/22/19 3:50 PM, Greg Troxel wrote:
I meant that on my system, as is normal on operating systems that have a
notion of base system and other things, things like gtk, gtkmm, qt, are
built with --prefix=/usr/pkg. When those are all in /usr, which happens
on most Linux systems given the different approach to handling
base/extra (all in /usr, and labels on packages), then a class of bugs
about not passing -L/-R become invisible.

Are the -L/-R flags from pkg-config ignored by scons or are they missing
in the pkg-config files on your system?

I believe that the pkg-config files have the -L/-R ok (pkgsrc needs this
because basically everything beyond traditional BSD is built with a
prefix that is not in the default search paths).

I usually build gpsd by passing in:

export TAR=gtar
export PYTHON=python3.7
export CPPFLAGS=-I/usr/pkg/include
export LDFLAGS="-L/usr/pkg/lib -R/usr/pkg/lib"

(and pkgsrc sets up a shadow link tree of only declared dependencies and
uses that)

But really I will try this out again at some point and figure out what's
wrong. It feels like failing to use the passed-in LDFLAGS in one case
while building test programs, rather than a general issue.

--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
reply via email to

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