Share

FreeImage

Tracker: Bugs

5 amd64 64 bit compile issues - ID: 1530733
Last Update: Comment added ( michaeln3 )

I needed to disable png assembler via
#define PNG_NO_ASSEMBLER_CODE
in pngconf.h

and had to add -fPIC to the compiler options to get a
successfull compile on the athlon 64, with 64 bit linux.

the assembler was independant of gcc 3 & 4
I didn't try the fPIC with gcc3

gcc -O3 -I. -ISource -ISource/Metadata
-ISource/FreeImageToolkit -ISource/LibJPEG
-ISource/LibMNG -ISource/LibPNG -I\Source/LibTIFF
-ISource/ZLib -c Source/LibPNG/./pnggccrd.c -o
Source/LibPNG/./pnggccrd.o
/tmp/cc9lYVkB.s: Assembler messages:
/tmp/cc9lYVkB.s:17: Error: suffix or operands invalid
for `push'
/tmp/cc9lYVkB.s:18: Error: suffix or operands invalid
for `push'
/tmp/cc9lYVkB.s:19: Error: suffix or operands invalid
for `push'
/tmp/cc9lYVkB.s:20: Error: suffix or operands invalid
for `pushf'
/tmp/cc9lYVkB.s:21: Error: suffix or operands invalid
for `pop'
/tmp/cc9lYVkB.s:24: Error: suffix or operands invalid
for `push'
/tmp/cc9lYVkB.s:25: Error: suffix or operands invalid
for `popf'
/tmp/cc9lYVkB.s:26: Error: suffix or operands invalid
for `pushf'


M Silent One ( ohsilence ) - 2006-07-29 03:01

5

Closed

Fixed

Hervé Drolon

None

None

Public


Comments ( 3 )

Date: 2006-12-11 21:01
Sender: michaeln3


The makefile still requires the -fPIC option for x86_64 as of the current
CVS.


Date: 2006-11-13 03:20
Sender: sf-robotSourceForge.net Site Admin

Logged In: YES
user_id=1312539

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).


Date: 2006-10-29 18:25
Sender: drolonProject AdminAccepting Donations

Logged In: YES
user_id=613758

This issue has been fixed in release 3.9.2

Hervé Drolon
FreeImage Project Manager



Attached File

No Files Currently Attached

Changes ( 6 )

Field Old Value Date By
status_id Pending 2006-11-13 03:20 sf-robot
close_date 2006-10-29 18:25 2006-11-13 03:20 sf-robot
status_id Open 2006-10-29 18:25 drolon
resolution_id None 2006-10-29 18:25 drolon
assigned_to nobody 2006-10-29 18:25 drolon
close_date - 2006-10-29 18:25 drolon