Bug 1223611

Summary: FTBFS - arm -fPIC issue
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: gazeboAssignee: Orion Poplawski <orion>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: logans, richmattes
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gazebo-4.0.2-3.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-22 21:14:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1223612    
Bug Blocks:    

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.