[cfe-dev] rpm error with clang

Devchandra L Meetei dlmeetei at gmail.com
Wed Apr 24 04:37:33 PDT 2013


Was trying to make rpm using clang and it gives following msg. gcc works
fine.

One work around will be not building the debug rpm, which I am not so keen
to do.

Sometimes while using clang in development, resultant binaries can not be
debugged well with gdb like It can not find the file etc.

clang is 3.2 released version.



+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id
/root/rpmbuild/BUILD/tog-pegasus-2.13.0
extracting debug info from
/root/rpmbuild/BUILDROOT/tog-pegasus-2.13.0-1.x86_64/usr/lib64/libpegcompiler.so.1
*** ERROR: No build ID note found in
/root/rpmbuild/BUILDROOT/tog-pegasus-2.13.0-1.x86_64/usr/lib64/libpegcompiler.so.1
error: Bad exit status from /var/tmp/rpm-tmp.edPlm1 (%install)

am I doing something wrong?
-- 
Warm Regards
--Dev
OpenPegasus Developer/Committer

(\__/)
(='.'=) This is Bunny. Copy and paste bunny
(")_(") to help him gain world domination.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130424/d92340f6/attachment.html>


More information about the cfe-dev mailing list