RPM Community Forums

Mailing List Message of <rpm-devel>

Re: [CVS] RPM: rpm-4_5: rpm/ CHANGES zlib/ configure.ac

From: Robert Scheck <robert@rpm5.org>
Date: Sat 08 Sep 2007 - 18:11:16 CEST
Message-ID: <20070908161116.GA11437@hurricane.linuxnetz.de>
On Sat, 08 Sep 2007, Ralf S. Engelschall wrote:
> Here we have to be careful. This destroys actually _ALL_ LDFLAGS, even
> those the user manually passed in. If it contains some essential flags
> (e.g. some platform specific and essential "-Wl,xxxx") this _COULD_
> break the building. Also, -pie is platform-specific but this hack
> applies to all platforms. Hmmm.... hence we certainly have to make this
> hack less generic....

The same hack would be needed in file as well to build 4.5 successfully on
x86_64 - based on http://rpm5.org/community/rpm-devel/0036.html by Michael
Jennings. But wouldn't it be better to use the LDFLAGS="-Bsymbolic" and the
CFLAGS="-DPIC -fPIC" as Jeff mentioned in IRC some minutes ago - have a
look to http://rpm5.org/community/rpm-devel/1131.html for reference. As far
as I got Jeff, this would be likely more pedantically correct...especially
if we care about PPC. So can we just switch?


Greetings,
  Robert
Received on Sat Sep 8 18:11:24 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.