View previous topic :: View next topic |
Author |
Message |
Sébas n00b
Joined: 13 Sep 2002 Posts: 4 Location: Montréal
|
Posted: Tue Oct 15, 2002 11:52 am Post subject: impossible register constraint in `asm' |
|
|
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 |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Oct 15, 2002 7:19 pm Post subject: |
|
|
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 |
|
|
|