Bug 1223611 - FTBFS - arm -fPIC issue
Summary: FTBFS - arm -fPIC issue
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gazebo
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1223612
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-21 02:55 UTC by Orion Poplawski
Modified: 2015-05-22 23:36 UTC (History)
2 users (show)

Fixed In Version: gazebo-4.0.2-3.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-22 21:14:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Orion Poplawski 2015-05-21 02:55:31 UTC
Description of problem:

/usr/bin/ld: CMakeFiles/gazebomsgs_out.dir/generator/GazeboGenerator.cc.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC

Scratch build with 4.1.3 (latest 4.X release, no idea what the changes are):
http://koji.fedoraproject.org/koji/taskinfo?taskID=9812189

5.0.1 and 5.1.0 are also out.  Did not test with that.

Version-Release number of selected component (if applicable):
4.0.2-3

We need a rebuild due to broken deps on protobuf.  gazebo is also waiting on an ogre rebuild.

Comment 1 Orion Poplawski 2015-05-22 17:58:08 UTC
Turns out gazebo was not being built properly with Fedora's default CXXFLAGS.  I've checked in a fix and fired off a build.  Upstream report: https://bitbucket.org/osrf/gazebo/issue/1614/compile-errors-on-arm

Comment 2 Rich Mattes 2015-05-22 23:36:36 UTC
Thanks Orion, I appreciate you taking the time to fix this before I got to it.


Note You need to log in before you can comment on or make changes to this bug.