PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Course

rpmbuild bails out due to missing build id

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
niessepe



Joined: 24 Mar 2009
Posts: 1

PostPosted: Wed Mar 21, 2012 5:26 am    Post subject: rpmbuild bails out due to missing build id Reply with quote

When rpm-building a package with PGI, rpm stumbles over this:

Code:

+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id /localhome/lpartec/rpmbuild/BUILD/package-Version...
extracting debug info from /localhome/lpartec/rpmbuild/BUILDROOT/package-Version...
*** ERROR: No build ID note found in /localhome/lpartec/rpmbuild/BUILDROOT/package-Version/
error: Bad exit status from /var/tmp/rpm-tmp.M593wL (%install)


This is due to the absence of build info (see also http://forums.fedoraforum.org/showthread.php?t=182293).

Is there a way of putting the build info into the resulting object files?

Thanks for your help,

Cheers, Peter.
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6630
Location: The Portland Group Inc.

PostPosted: Thu Mar 22, 2012 11:04 am    Post subject: Reply with quote

Hi niessepe,

Are you trying to build a RPM package or install a RPM package containing with PGI compiled objects? If you are building, try adding the liker option "--build-id[=STYLE]" to set the build id. If you are using a PGI driver, such as pgfortran or pgcc, to perform the link, you can pass flags to the linker using "-Wl,<flag>", i.e. "-Wl,--buidl-id".

Hope this helps,
Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group