RPM Community Forums

Mailing List Message of <rpm-devel>

Re: segfault using pcre and --as-needed

From: Jeff Johnson <n3npq@mac.com>
Date: Fri 13 Jun 2008 - 19:05:58 CEST
Message-id: <7607B56E-5A6A-4E5A-9524-618D5F5AC943@mac.com>

On Jun 13, 2008, at 12:47 PM, Pixel wrote:

> "Dan Nicholson" <dbn.lists@gmail.com> writes:
>
> i wonder if ld could have a warning to detect about multiple symbols
> in DSO and so tell about possible issues with --as-needed.

Both PCRE and the the liner flags are configuration choices:

     $ ./configure --help
     ...
       --with-pcre=ARG         build with PCRE library (no)
                           (location path: "external:none")
     ...

and -Wl,--as-needed from LDFLAGS. Thank you Ralf!

"Don't do that if it hurts!" should be an adequate answer,
both of those "features" are opt-in, not opt-out. Presumably
noone needs a warning about what they choose to do to
themselves. YMMV, everyone's does, and distro maintenance
of RPM packaging issues certainly inflicts its own peculier pains ...

Meanwhile, both additions were community RFE, not vendor build
system monster, derived, and so should continue to be available.

But yes, sure would be nice if Everything Just Worked!

73 de Jeff
>
Received on Fri Jun 13 19:07:05 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.