bugDazuko - Bugs: bug #11380, 64 bit failure

 
 

bug #11380: 64 bit failure

Submitted by:  John Moser <bluefoxicy>
Submitted on:  Wed 22 Dec 2004 07:03:10 PM UTC  
 
Status: NoneAssigned to: John Ogness <ogman>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 14 Aug 2006 01:51:18 PM UTC, comment #3:

Recently a lot of testing has been done on 64-bit platforms. With the current pre-release (2.3.1-pre1) there should not be any such problems.

John Ogness <ogman>
Project AdministratorIn charge of this item.
Sat 25 Dec 2004 09:15:37 PM UTC, comment #2:

Yes, it works with -fPIC.

Using -fPIC is a work-around, but you should eventually find out what causes the relocation and fix it if anyone has problems due to the addition of -fPIC.

I don't know anything about getting rid of relocations; ask one of the security guys.

John Moser <bluefoxicy>
Sat 25 Dec 2004 06:00:28 PM UTC, comment #1:

Hi,

With the addition of -fPIC does everything work ok? I don't have a 64bit processor to test it.

John Ogness

John Ogness <ogman>
Project AdministratorIn charge of this item.
Wed 22 Dec 2004 07:03:10 PM UTC, original submission:

/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: /tmp/ccbTTzOt.o: relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/tmp/ccbTTzOt.o: could not read symbols: Bad value
collect2: ld returned 1 exit status

The following seems to work in ./configure:

echo "" >> Makefile
echo "linux_conf: linux_conf.c" >> Makefile
echo " \$(CC) \$(CFLAGS) -fPIC linux_conf.c -o linux_conf > linux_conf_make.out 2>&1" >> Makefile
rm -f linux_conf

Notice the addition of -fPIC

You may want to find out what's causing the need for the relocation, and fix it. I'm looking forward to the day when relocations no longer exist, for security reasons.

John Moser <bluefoxicy>

 

(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):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 14 Aug 2006 01:51:18 PM UTCogmanOpen/ClosedOpen=>Closed
Sat 25 Dec 2004 06:00:28 PM UTCogmanAssigned toNone=>ogman

Back to the top


Powered by Savane 3.1-cleanup1