MVoz / libmpsse

Automatically exported from code.google.com/p/libmpsse
0 stars 0 forks source link

Lib not built with PIC #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run configure
2. run make

What is the expected output? What do you see instead?
A built lib

What version of the product are you using? On what operating system?
Linux version 2.6.38-8-generic (buildd@allspice) (gcc version 4.5.2 
(Ubuntu/Linaro 4.5.2-8ubuntu3) ) #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011
gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2

Please provide any additional information below.
Please see patch.

Original issue reported on code.google.com by thebiggu...@gmail.com on 24 Nov 2011 at 9:09

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry just read issue 1, I see this is the same issue.
* Can a a new tar be built for the 'downloads' section
* By adding "-fPIC" to all gcc commands you then add PIC to non-libs.

I would suggest creating a separate CFLAGS (ie CFLAGS_LIBS) for the lib builds 
to the program builds.

Original comment by thebiggu...@gmail.com on 24 Nov 2011 at 9:22

GoogleCodeExporter commented 9 years ago
I've added some additional features since the last release and was waiting 
until they were tested before cutting another release. They're tested now and 
I'll be uploading a new release in the next couple hours.

Is adding -fPIC to all gcc commands an issue? The only non-lib gcc commands the 
example programs, and -fPIC is only added on 64-bit builds where it shouldn't 
impose any significant overhead in the example programs anyway. Correct me if 
I'm wrong though. :)

Original comment by heffne...@gmail.com on 25 Nov 2011 at 12:30

GoogleCodeExporter commented 9 years ago
New tarball uploaded to downloads section.

Original comment by heffne...@gmail.com on 25 Nov 2011 at 12:58