Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
impossible register constraint in `asm'
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Sébas
n00b
n00b


Joined: 13 Sep 2002
Posts: 4
Location: Montréal

PostPosted: Tue Oct 15, 2002 11:52 am    Post subject: impossible register constraint in `asm' Reply with quote

Hi,

I'm trying to compile glibc-2.2.5-rc7 on gentoo using gcc 3.2 and these CFLAGS:
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_LARGEFILES -march=pentium4 -pipe -mmmx -msse2 -O3 -pipe -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt

And after changing a few "off_t" to "__off_t" and commenting "weak_alias" in sysdeps/unix/sysv/linux/p[read,write][,64].c

I get:
../sysdeps/unix/sysv/linux/pread64.c: In function `__libc_pread64':
../sysdeps/unix/sysv/linux/pread64.c:53: impossible register constraint in `asm'
../sysdeps/unix/sysv/linux/pread64.c:61: confused by earlier errors, bailing out

What's the asm? Anyone can help me? Is there something wrong with my CFLAGS?

Cheers,

Seb
PS: I'm using D_FILE_OFFSET_BITS=64 to solve our nfs over Irix 64 problem....
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Oct 15, 2002 7:19 pm    Post subject: Reply with quote

I would try removing all unnecessary compiler flags and seeing if the problem persists. I would be surprised if it were related to your 64-bit off_t - it's probably one of the more aggressive tradeoff flags.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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