bugProfile module Replacement for Python - Bugs: bug #18049, Compilation fails on gentoo x86-64

 
 

bug #18049: Compilation fails on gentoo x86-64

Submitter:  David M. Turner <novalis>
Submitted:  Wed 18 Oct 2006 01:44:59 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 18 Oct 2006 03:04:23 PM UTC, comment #1: 

Removing inline from get_tdelta_buildin and get_tdelta_external fixes this.  I have also reported this bug to gentoo (they rejected it twice so far -- let's see what happens the third time!)

David M. Turner <novalis>
Wed 18 Oct 2006 01:44:59 PM UTC, original submission:  

novalis@novalis /tmp/hprof-0.1.1 $ python setup.py build
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.4
copying src/hprofile.py -> build/lib.linux-x86_64-2.4
copying src/pstats.py -> build/lib.linux-x86_64-2.4
copying src/profile.py -> build/lib.linux-x86_64-2.4
copying src/hpstats.py -> build/lib.linux-x86_64-2.4
copying src/hstats.py -> build/lib.linux-x86_64-2.4
running build_ext
building '_hotshot' extension
creating build/temp.linux-x86_64-2.4
creating build/temp.linux-x86_64-2.4/src
x86_64-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -fPIC -I/usr/include/python2.4 -c src/_hotshot.c -o build/temp.linux-x86_64-2.4/src/_hotshot.o
x86_64-pc-linux-gnu-gcc -pthread -shared build/temp.linux-x86_64-2.4/src/_hotshot.o -o build/lib.linux-x86_64-2.4/_hotshot.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: build/temp.linux-x86_64-2.4/src/_hotshot.o: relocation R_X86_64_PC32 against `get_tdelta_external' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1

David M. Turner <novalis>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-4448.
Corresponding source code