* glibc-2.3.4 mips64 compilation failure
@ 2005-05-26 16:32 Maxim Osipov
2005-05-26 17:06 ` Daniel Jacobowitz
0 siblings, 1 reply; 13+ messages in thread
From: Maxim Osipov @ 2005-05-26 16:32 UTC (permalink / raw)
To: linux-mips
Hello,
I am trying to build glibc-2.3.4 using binutils-2.15 and gcc-3.4.3
from ftp://ftp.linux-mips.org/pub/linux/mips/crossdev/i386-linux/mips64-linux.
Compilation fails with following messages:
clude/libc-symbols.h -DPIC -DASSEMBLER -x assembler-with-cpp -o
/home/maxim/temp/build-glibc/io/sendfile.o -
.././scripts/mkinstalldirs /home/maxim/temp/build-glibc/io
(echo '#include <sysdep.h>'; \
echo 'PSEUDO (sendfile64, sendfile64, 4)'; \
echo ' ret'; \
echo 'PSEUDO_END(sendfile64)'; \
echo 'libc_hidden_def (sendfile64)'; \
) | mips64-linux-gcc -mabi=64 -c -I../include -I.
-I/home/maxim/temp/build-glibc/io -I.. -I../libio
-I/home/maxim/temp/build-glibc -I../sysdeps/mips/elf
-I../linuxthreads/sysdeps/unix/sysv/linux/mips/mips64
-I../linuxthreads/sysdeps/unix/sysv/linux/mips
-I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread
-I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix
-I../linuxthreads/sysdeps/mips
-I../sysdeps/unix/sysv/linux/mips/mips64/n64
-I../sysdeps/unix/sysv/linux/mips/mips64
-I../sysdeps/unix/sysv/linux/mips -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv
-I../sysdeps/unix/mips/mips64/n64 -I../sysdeps/unix/mips/mips64
-I../sysdeps/unix/mips -I../sysdeps/unix -I../sysdeps/posix
-I../sysdeps/mips/mips64/n64 -I../sysdeps/ieee754/ldbl-128
-I../sysdeps/mips/mips64 -I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/mips -I../sysdeps/wordsize-64
-I../sysdeps/mips/fpu -I../sysdeps/ieee754 -I../sysdeps/generic/elf
-I../sysdeps/generic -nostdinc -isystem
/usr/lib/gcc/mips64-linux/3.4.3/include -isystem
/usr/local/tools/mips64-linux/mips64-linux/sys-root/usr/include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DASSEMBLER
-x assembler-with-cpp -o /home/maxim/temp/build-glibc/io/sendfile64.o
-
<stdin>: Assembler messages:
<stdin>:2: Error: absolute expression required `li'
make[2]: *** [/home/maxim/temp/build-glibc/io/sendfile64.o] Error 1
make[2]: Leaving directory `/home/maxim/temp/glibc-2.3.4/io'
make[1]: *** [io/subdir_lib] Error 2
make[1]: Leaving directory `/home/maxim/temp/glibc-2.3.4'
Has anyone seen it before? And one more thing - are there srpms for
the above mentioned tools available?
Best regards,
Maxim
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: glibc-2.3.4 mips64 compilation failure
2005-05-26 16:32 glibc-2.3.4 mips64 compilation failure Maxim Osipov
@ 2005-05-26 17:06 ` Daniel Jacobowitz
2005-05-26 17:26 ` Maciej W. Rozycki
0 siblings, 1 reply; 13+ messages in thread
From: Daniel Jacobowitz @ 2005-05-26 17:06 UTC (permalink / raw)
To: maxim; +Cc: linux-mips
On Thu, May 26, 2005 at 08:32:59PM +0400, Maxim Osipov wrote:
> Hello,
>
> I am trying to build glibc-2.3.4 using binutils-2.15 and gcc-3.4.3
> from ftp://ftp.linux-mips.org/pub/linux/mips/crossdev/i386-linux/mips64-linux.
> Compilation fails with following messages:
Looks like your kernel headers are too old.
--
Daniel Jacobowitz
CodeSourcery, LLC
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: glibc-2.3.4 mips64 compilation failure
2005-05-26 17:06 ` Daniel Jacobowitz
@ 2005-05-26 17:26 ` Maciej W. Rozycki
2005-05-26 19:05 ` Daniel Jacobowitz
2005-05-27 10:15 ` Maxim Osipov
0 siblings, 2 replies; 13+ messages in thread
From: Maciej W. Rozycki @ 2005-05-26 17:26 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: maxim, linux-mips
On Thu, 26 May 2005, Daniel Jacobowitz wrote:
> > I am trying to build glibc-2.3.4 using binutils-2.15 and gcc-3.4.3
> > from ftp://ftp.linux-mips.org/pub/linux/mips/crossdev/i386-linux/mips64-linux.
> > Compilation fails with following messages:
>
> Looks like your kernel headers are too old.
Or too new, sigh... See:
"http://sources.redhat.com/bugzilla/show_bug.cgi?id=758". Unfortunately
it's not clear to me what "the 2.3 branch inclusion criteria" are and it's
a pity the MIPS port of glibc is unmaintained these days...
Maciej
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: glibc-2.3.4 mips64 compilation failure
2005-05-26 17:26 ` Maciej W. Rozycki
@ 2005-05-26 19:05 ` Daniel Jacobowitz
2005-05-26 19:34 ` Maciej W. Rozycki
2005-05-27 10:15 ` Maxim Osipov
1 sibling, 1 reply; 13+ messages in thread
From: Daniel Jacobowitz @ 2005-05-26 19:05 UTC (permalink / raw)
To: Maciej W. Rozycki; +Cc: maxim, linux-mips
On Thu, May 26, 2005 at 06:26:10PM +0100, Maciej W. Rozycki wrote:
> On Thu, 26 May 2005, Daniel Jacobowitz wrote:
>
> > > I am trying to build glibc-2.3.4 using binutils-2.15 and gcc-3.4.3
> > > from ftp://ftp.linux-mips.org/pub/linux/mips/crossdev/i386-linux/mips64-linux.
> > > Compilation fails with following messages:
> >
> > Looks like your kernel headers are too old.
>
> Or too new, sigh... See:
> "http://sources.redhat.com/bugzilla/show_bug.cgi?id=758". Unfortunately
> it's not clear to me what "the 2.3 branch inclusion criteria" are and it's
> a pity the MIPS port of glibc is unmaintained these days...
He did post the criteria. You can find them in the list archives
though I don't have a URL handy.
I'm hoping to improve the maintenance in the near future.
--
Daniel Jacobowitz
CodeSourcery, LLC
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: glibc-2.3.4 mips64 compilation failure
2005-05-26 19:05 ` Daniel Jacobowitz
@ 2005-05-26 19:34 ` Maciej W. Rozycki
2005-05-26 20:08 ` Daniel Jacobowitz
0 siblings, 1 reply; 13+ messages in thread
From: Maciej W. Rozycki @ 2005-05-26 19:34 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: maxim, linux-mips
On Thu, 26 May 2005, Daniel Jacobowitz wrote:
> > Or too new, sigh... See:
> > "http://sources.redhat.com/bugzilla/show_bug.cgi?id=758". Unfortunately
> > it's not clear to me what "the 2.3 branch inclusion criteria" are and it's
> > a pity the MIPS port of glibc is unmaintained these days...
>
> He did post the criteria. You can find them in the list archives
> though I don't have a URL handy.
Well, the criteria probably don't change that much if at all from one
stable branch to another, so having them somewhere at one of the GNU libc
web pages (probably the sourceware's is the right one for such internal
guidelines) wouldn't hurt, like it's done e.g. with GCC. I can't recall
if I tried searching the mailing list previously, but now "branch
inclusion criteria" doesn't return anything, so even your hint isn't
especially useful (and I don't want to spend my life digging the archives,
sorry). I'm somewhat surprised, actually, as I'm subscribed to the
libc-alpha list for quite some time now, certainly since before the branch
was created and I haven't noticed such an announcement.
> I'm hoping to improve the maintenance in the near future.
Well, if you have resources for doing that, it will be most welcomed.
Maciej
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: glibc-2.3.4 mips64 compilation failure
2005-05-26 19:34 ` Maciej W. Rozycki
@ 2005-05-26 20:08 ` Daniel Jacobowitz
2005-05-26 20:15 ` Daniel Jacobowitz
0 siblings, 1 reply; 13+ messages in thread
From: Daniel Jacobowitz @ 2005-05-26 20:08 UTC (permalink / raw)
To: Maciej W. Rozycki; +Cc: maxim, linux-mips
On Thu, May 26, 2005 at 08:34:28PM +0100, Maciej W. Rozycki wrote:
> if I tried searching the mailing list previously, but now "branch
> inclusion criteria" doesn't return anything, so even your hint isn't
> especially useful (and I don't want to spend my life digging the archives,
> sorry). I'm somewhat surprised, actually, as I'm subscribed to the
> libc-alpha list for quite some time now, certainly since before the branch
> was created and I haven't noticed such an announcement.
It's buried in:
http://sourceware.org/ml/libc-alpha/2004-12/msg00063.html
--
Daniel Jacobowitz
CodeSourcery, LLC
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: glibc-2.3.4 mips64 compilation failure
2005-05-26 20:08 ` Daniel Jacobowitz
@ 2005-05-26 20:15 ` Daniel Jacobowitz
2005-05-26 20:22 ` Maciej W. Rozycki
0 siblings, 1 reply; 13+ messages in thread
From: Daniel Jacobowitz @ 2005-05-26 20:15 UTC (permalink / raw)
To: Maciej W. Rozycki; +Cc: maxim, linux-mips
On Thu, May 26, 2005 at 04:08:04PM -0400, Daniel Jacobowitz wrote:
> On Thu, May 26, 2005 at 08:34:28PM +0100, Maciej W. Rozycki wrote:
> > if I tried searching the mailing list previously, but now "branch
> > inclusion criteria" doesn't return anything, so even your hint isn't
> > especially useful (and I don't want to spend my life digging the archives,
> > sorry). I'm somewhat surprised, actually, as I'm subscribed to the
> > libc-alpha list for quite some time now, certainly since before the branch
> > was created and I haven't noticed such an announcement.
>
> It's buried in:
> http://sourceware.org/ml/libc-alpha/2004-12/msg00063.html
... not that those will be very useful to you, unless you want to
suddenly become Fedora. They'll only be useful to Debian once in a
blue moon.
--
Daniel Jacobowitz
CodeSourcery, LLC
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: glibc-2.3.4 mips64 compilation failure
2005-05-26 20:15 ` Daniel Jacobowitz
@ 2005-05-26 20:22 ` Maciej W. Rozycki
2005-05-26 20:24 ` Daniel Jacobowitz
0 siblings, 1 reply; 13+ messages in thread
From: Maciej W. Rozycki @ 2005-05-26 20:22 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: maxim, linux-mips
On Thu, 26 May 2005, Daniel Jacobowitz wrote:
> > It's buried in:
> > http://sourceware.org/ml/libc-alpha/2004-12/msg00063.html
>
> ... not that those will be very useful to you, unless you want to
> suddenly become Fedora. They'll only be useful to Debian once in a
> blue moon.
Thanks for the link and indeed -- I don't think we have any setup
available that would qualify as a "distribution" as referred to by the
rules. Especially as for MIPS you'd have to multiply that by three for
the supported ABIs.
As a result we have no glibc release that would work for a reasonably
modern setup of MIPS/Linux.
Maciej
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: glibc-2.3.4 mips64 compilation failure
2005-05-26 20:22 ` Maciej W. Rozycki
@ 2005-05-26 20:24 ` Daniel Jacobowitz
2005-05-26 20:33 ` Maciej W. Rozycki
0 siblings, 1 reply; 13+ messages in thread
From: Daniel Jacobowitz @ 2005-05-26 20:24 UTC (permalink / raw)
To: Maciej W. Rozycki; +Cc: maxim, linux-mips
On Thu, May 26, 2005 at 09:22:47PM +0100, Maciej W. Rozycki wrote:
> On Thu, 26 May 2005, Daniel Jacobowitz wrote:
>
> > > It's buried in:
> > > http://sourceware.org/ml/libc-alpha/2004-12/msg00063.html
> >
> > ... not that those will be very useful to you, unless you want to
> > suddenly become Fedora. They'll only be useful to Debian once in a
> > blue moon.
>
> Thanks for the link and indeed -- I don't think we have any setup
> available that would qualify as a "distribution" as referred to by the
> rules. Especially as for MIPS you'd have to multiply that by three for
> the supported ABIs.
>
> As a result we have no glibc release that would work for a reasonably
> modern setup of MIPS/Linux.
HEAD does work, however. I will even get around to the MIPS64 NPTL
bits for HEAD very soon.
--
Daniel Jacobowitz
CodeSourcery, LLC
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: glibc-2.3.4 mips64 compilation failure
2005-05-26 20:24 ` Daniel Jacobowitz
@ 2005-05-26 20:33 ` Maciej W. Rozycki
0 siblings, 0 replies; 13+ messages in thread
From: Maciej W. Rozycki @ 2005-05-26 20:33 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: maxim, linux-mips
On Thu, 26 May 2005, Daniel Jacobowitz wrote:
> HEAD does work, however. I will even get around to the MIPS64 NPTL
> bits for HEAD very soon.
Hmm, has #933 been applied to HEAD? Apparently not. I have more stuff
to come that's less obvious, but what's the point if even basic one is
stuck? I put such bits at my FTP site of course, so that people can still
benefit.
Maciej
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: glibc-2.3.4 mips64 compilation failure
2005-05-26 17:26 ` Maciej W. Rozycki
2005-05-26 19:05 ` Daniel Jacobowitz
@ 2005-05-27 10:15 ` Maxim Osipov
2005-05-31 14:28 ` Maciej W. Rozycki
1 sibling, 1 reply; 13+ messages in thread
From: Maxim Osipov @ 2005-05-27 10:15 UTC (permalink / raw)
To: Maciej W. Rozycki; +Cc: Daniel Jacobowitz, linux-mips
Hmm... I don't know. Both 2.4.26 and 2.6.10 headers do not contain
this call number in unistd.h for N64, but glibc tries to generate a
stub referencing to undefined __NR_sendfile64, and I got this
assembler error.
I tried various kernel/glibc configurations and result is the same -
we fail on sendfile64 or time.
Do anyone have a clue what is happening? AFAIK, some people already
had success building glibc for mips64. Probably I miss something?
Best regards,
Maxim
On 5/26/05, Maciej W. Rozycki <macro@linux-mips.org> wrote:
> On Thu, 26 May 2005, Daniel Jacobowitz wrote:
>
> > > I am trying to build glibc-2.3.4 using binutils-2.15 and gcc-3.4.3
> > > from ftp://ftp.linux-mips.org/pub/linux/mips/crossdev/i386-linux/mips64-linux.
> > > Compilation fails with following messages:
> >
> > Looks like your kernel headers are too old.
>
> Or too new, sigh... See:
> "http://sources.redhat.com/bugzilla/show_bug.cgi?id=758". Unfortunately
> it's not clear to me what "the 2.3 branch inclusion criteria" are and it's
> a pity the MIPS port of glibc is unmaintained these days...
>
> Maciej
>
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: glibc-2.3.4 mips64 compilation failure
2005-05-27 10:15 ` Maxim Osipov
@ 2005-05-31 14:28 ` Maciej W. Rozycki
0 siblings, 0 replies; 13+ messages in thread
From: Maciej W. Rozycki @ 2005-05-31 14:28 UTC (permalink / raw)
To: maxim; +Cc: Daniel Jacobowitz, linux-mips
On Fri, 27 May 2005, Maxim Osipov wrote:
> Do anyone have a clue what is happening? AFAIK, some people already
> had success building glibc for mips64. Probably I miss something?
Please feel free to have a look at packages available at my site -- the
setup may seem a little bit odd (n64 is used as the default format and
actually the only one supported), but if you are after general setup,
patches, etc. it is still relevant; just ignore the odd stuff. Binary
packages have been built with GCC 4.0.0, so probably the sources + patches
are going to work with older tools as well. You may consider using
binutils 2.16, though (in general, not to solve your particular problem).
Maciej
^ permalink raw reply [flat|nested] 13+ messages in thread
[parent not found: <429C8F71.6080606@siemens.com>]
* Re: glibc-2.3.4 mips64 compilation failure
[not found] <429C8F71.6080606@siemens.com>
@ 2005-05-31 16:30 ` Maxim Osipov
0 siblings, 0 replies; 13+ messages in thread
From: Maxim Osipov @ 2005-05-31 16:30 UTC (permalink / raw)
To: macro; +Cc: linux-mips, dan
Yes, thanks - I'm already using it, for glibc it did help with my
problem. Binutils 2.16 and gcc 3.4.3 seems to compile out of box (wo
any patches), but I didn't try produced code on a hardware yet.
Best regards,
Maxim
On 5/31/05, Maxim Osipov <maxim.osipov@siemens.com> wrote:
> > Do anyone have a clue what is happening? AFAIK, some people already
> > had success building glibc for mips64. Probably I miss something?
>
> Please feel free to have a look at packages available at my site -- the
> setup may seem a little bit odd (n64 is used as the default format and
> actually the only one supported), but if you are after general setup,
> patches, etc. it is still relevant; just ignore the odd stuff. Binary
> packages have been built with GCC 4.0.0, so probably the sources + patches
> are going to work with older tools as well. You may consider using
> binutils 2.16, though (in general, not to solve your particular problem).
>
> Maciej
>
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2005-05-31 16:30 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-26 16:32 glibc-2.3.4 mips64 compilation failure Maxim Osipov
2005-05-26 17:06 ` Daniel Jacobowitz
2005-05-26 17:26 ` Maciej W. Rozycki
2005-05-26 19:05 ` Daniel Jacobowitz
2005-05-26 19:34 ` Maciej W. Rozycki
2005-05-26 20:08 ` Daniel Jacobowitz
2005-05-26 20:15 ` Daniel Jacobowitz
2005-05-26 20:22 ` Maciej W. Rozycki
2005-05-26 20:24 ` Daniel Jacobowitz
2005-05-26 20:33 ` Maciej W. Rozycki
2005-05-27 10:15 ` Maxim Osipov
2005-05-31 14:28 ` Maciej W. Rozycki
[not found] <429C8F71.6080606@siemens.com>
2005-05-31 16:30 ` Maxim Osipov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox