Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem compiling media-libs/jpeg-6b-r3 failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
smart
Guru
Guru


Joined: 19 Nov 2002
Posts: 455

PostPosted: Sat Dec 21, 2002 4:13 pm    Post subject: problem compiling media-libs/jpeg-6b-r3 failed Reply with quote

Hi,
probably this is a problem of the original software ?

gcc -march=k6-3 -O2 -pipe -m3dnow -mmmx -fomit-frame-pointer -I. -c -fPIC -DPIC ./jccolor.c
{standard input}: Assembler messages:
{standard input}:53: Error: value of ffffffffffffff7f too large for field of 1 bytes at 00000000000000e0
make: *** [jccolor.lo] Error 1

!!! ERROR: media-libs/jpeg-6b-r3 failed.
!!! Function src_compile, Line -235, Exitcode 2
!!! (no error message)

thanks for suggestions
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sat Dec 21, 2002 7:19 pm    Post subject: Reply with quote

Does the problem persist when mmx and 3dnow are turned off?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
smart
Guru
Guru


Joined: 19 Nov 2002
Posts: 455

PostPosted: Sat Dec 21, 2002 7:39 pm    Post subject: Reply with quote

too bad... nope, didn't work. BTW the same is valid for media-libs/jpeg-mmx
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sat Dec 21, 2002 8:15 pm    Post subject: Reply with quote

What version of GCC are you using? Does changing the arch to i586 help?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
arjepsen
n00b
n00b


Joined: 21 Dec 2002
Posts: 14

PostPosted: Sat Dec 21, 2002 10:24 pm    Post subject: Reply with quote

I have the same problem. Only, my flags are:

-march=k6-2 -O3 -pipe -fomit-frame-pointer

I just installed gentoo a few days ago, so my gcc version should be the
latest from the bootstrap script
Back to top
View user's profile Send private message
smart
Guru
Guru


Joined: 19 Nov 2002
Posts: 455

PostPosted: Sun Dec 22, 2002 8:10 am    Post subject: Reply with quote

piece of cake.

i586 did it. Sick enough, i could stick with my other flags:
CFLAGS="-march=i586 -O2 -pipe -m3dnow -mmmx -fomit-frame-pointer"

Since i notice the jpeg-mmx, i am curious now. I assume this would give me a bit of advantage and i guess it's the same thing in proniple. How ould i switch from jpeg to jpeg-mmx cleanly ? Unmerge jpeg, emerge jpeg-mmx ?
tanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum