RPM Community Forums

Mailing List Message of <rpm-users>

Re: rpm on OSX Lion

From: Jeffrey Johnson <n3npq@me.com>
Date: Wed 28 Mar 2012 - 11:22:07 CEST
Message-id: <10AA34A4-77A2-492E-8AC5-EF9312112606@me.com>

On Mar 28, 2012, at 4:28 AM, Henri Gomez wrote:

> done a make distclean and rebuilt :
> 
>> wellfleet:misc jbj$ nm .libs/librpmmisc.a | grep pcre_regcomp
>> nm: no name list
>> nm: no name list
>> nm: no name list
>> nm: no name list
>>                 U _pcre_regcomp
>> nm: no name list
>> 0000000000000370 T _pcre_regcomp
>> 0000000000000820 S _pcre_regcomp.eh
> 
> Nothing from nm :
> 
> nm misc/.libs/librpmmisc.a | grep pcre_regcomp
> 
>>> cat don't show many :
>>> 
>> 
>> Usually "strings -a" has fewer false positives.
>> 
>> But what compiler did you use? My build is highly likely to have been
>> GCC not LLVM.
> 
> clang is used :

This is likely the key issue.

For now, I'd suggest using MacPorts until you get a working
version of RPM as the most expedient course.

I'll dig out whatever issues there are using LLVM down
the road.

I already know that -fopenmp is an issue because
of -lgomp is FUBAR with gcc-4.2.

I've also seen reported issues with stack frame unwinding
too.

These are all fixable, just tedious.

73 de Jeff

> 
> configure used :
> 
> ./configure --prefix=/usr/local CC=/usr/bin/clang 'CFLAGS=-pipe -O2
> -arch i386 -arch x86_64' 'LDFLAGS=-L/usr/local/lib -arch i386 -arch
> x86_64' CPPFLAGS=-I/usr/local/include CXX=/usr/bin/clang++
> 'CXXFLAGS=-pipe -O2 -arch i386 -arch x86_64' --with-pcre=internal
> ______________________________________________________________________
> RPM Package Manager                                    http://rpm5.org
> User Communication List                             rpm-users@rpm5.org
Received on Wed Mar 28 11:22:29 2012
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.