Bug 248937

Summary: nx requires -fPIC on PowerPC or /usr/lib/nx/lib*.so won't load
Product: [Fedora] Fedora Reporter: Lyonel Vincent <lyonel>
Component: nxAssignee: Axel Thimm <Axel.Thimm>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 7CC: gwync
Target Milestone: ---   
Target Release: ---   
Hardware: powerpc   
OS: Linux   
Whiteboard:
Fixed In Version: 3.1.0-25.1.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-06 16:34:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lyonel Vincent 2007-07-19 18:08:27 UTC
Description of problem:
trying to launch nxagent (after having fixed the missing libXcomp and
libXcompext shared libs, cf. #247921) gives:

/usr/libexec/nx/nxagent: error while loading shared libraries:
/usr/lib/nx/libXcomp.so.2: R_PPC_REL24 relocation at 0x0f884aec for symbol
`memcpy' out of range

Version-Release number of selected component (if applicable):
nx-2.1.0-22.fc7

How reproducible:
100%

Steps to Reproduce:
1. install nx and freenx
2. add /usr/lib/nx/ to /etc/ld.so.conf
3. run /usr/libexec/nx/nxagent
  
Actual results:
/usr/lib/nx/libXcomp.so.2: R_PPC_REL24 relocation at 0x0f884aec for symbol
`memcpy' out of range

Expected results:
nxagent loads correctly

Additional info:
 * nx should be rebuilt with '-fPIC' (as it is on x86-64)
 * libXcomp and libXcompext are not correctly setup (cf. #247921)

Comment 1 Fedora Update System 2008-03-04 23:03:06 UTC
nx-3.1.0-25.1.fc8 has been submitted as an update for Fedora 8

Comment 2 Fedora Update System 2008-03-06 16:34:15 UTC
nx-3.1.0-25.1.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.