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

 
 

bug #18049: Compilation fails on gentoo x86-64

Submitted by:  David M. Turner <novalis>
Submitted on:  Wed 18 Oct 2006 01:44:59 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup