* mips linux glibc-2.3.3 build - Assembler errors in rtld.c
@ 2004-10-05 9:50 T. P. Saravanan
2004-10-05 10:16 ` Atsushi Nemoto
0 siblings, 1 reply; 7+ messages in thread
From: T. P. Saravanan @ 2004-10-05 9:50 UTC (permalink / raw)
To: linux-mips
Hi,
glibc-2.2.3 build on mips linux breaks with following assembler errors:
sara@eyeore: [over] ~/build/glibc/objdir5$ make
make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.3.3 objdir=`pwd` all
make[1]: Entering directory `/home/sara/build/glibc/glibc-2.3.3'
.
.
.
make[2]: Leaving directory `/home/sara/build/glibc/glibc-2.3.3/login'
make -C elf subdir_lib
make[2]: Entering directory `/home/sara/build/glibc/glibc-2.3.3/elf'
.
.
.
gcc -mabi=32 rtld.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes
-Wwrite-strings -g -mips32 -fPIC -I../include -I.
-I/home/sara/build/glibc/objdir5/elf -I.. -I../libio
-I/home/sara/build/glibc/objdir5 -I../sysdeps/mips/elf
-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/mips32
-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/mips32 -I../sysdeps/unix/mips -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/mips/mips32 -I../sysdeps/mips
-I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64
-I../sysdeps/wordsize-32 -I../sysdeps/mips/fpu -I../sysdeps/ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem
/home/sara/usr/local/lib/gcc/mipsel-unknown-linux-gnu/3.4.2/include
-isystem /home/sara/build/linux/linux-2.4.25mips/include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DSHARED
-DNOT_IN_libc=1 -DIS_IN_rtld=1 -o
/home/sara/build/glibc/objdir5/elf/rtld.os -MD -MP -MF
/home/sara/build/glibc/objdir5/elf/rtld.os.dt
/tmp/ccNhjRu0.s: Assembler messages:
/tmp/ccNhjRu0.s:48: Warning: missing .end
/tmp/ccNhjRu0.s:80: Warning: No .frame pseudo-op used in PIC code
/tmp/ccNhjRu0.s:88: Warning: .end directive without a preceding .ent
directive.
/tmp/ccNhjRu0.s:88: Error: junk at end of line, first unrecognized
character is `.'
make[2]: *** [/home/sara/build/glibc/objdir5/elf/rtld.os] Error 1
make[2]: Leaving directory `/home/sara/build/glibc/glibc-2.3.3/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/home/sara/build/glibc/glibc-2.3.3'
make: *** [all] Error 2
More details:
Changes made to the base code: replaced sysdeps/mips/machine-gmon.h with
the CVS copy (libc/sysdeps/mips/machine-gmon.h revision:1.1).
System details:
Host type: mipsel-unknown-linux-gnu
System: Linux eyeore 2.4.25 #20 Wed Sep 29 09:01:29 IST 2004 mips unknown
Architecture: mips
Addons: linuxthreads
Build CFLAGS: -mips32 -O2 -g
Build CC: gcc
Compiler version: 3.4.2
Kernel headers: 2.4.25
Symbol versioning: yes
Build static: yes
Build shared: yes
Build pic-default: yes
Build profile: yes
Build omitfp: no
Build bounded: no
Build static-nss: no
sara@eyeore: [over] ~/tmp$ cat /proc/cpuinfo
system type : ITE QED-4N-S01B
processor : 0
cpu model : Nevada V3.1 FPU V3.0
BogoMIPS : 299.00
wait instruction : yes
microsecond timers : yes
tlb_entries : 48
extra interrupt vector : yes
hardware watchpoint : no
VCED exceptions : not available
VCEI exceptions : not available
sara@eyeore: [over] ~/tmp$
-Saravanan
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mips linux glibc-2.3.3 build - Assembler errors in rtld.c
2004-10-05 9:50 mips linux glibc-2.3.3 build - Assembler errors in rtld.c T. P. Saravanan
@ 2004-10-05 10:16 ` Atsushi Nemoto
2004-10-05 10:53 ` Maciej W. Rozycki
2004-10-07 4:26 ` T. P. Saravanan
0 siblings, 2 replies; 7+ messages in thread
From: Atsushi Nemoto @ 2004-10-05 10:16 UTC (permalink / raw)
To: sara; +Cc: linux-mips
>>>>> On Tue, 05 Oct 2004 15:20:53 +0530, "T. P. Saravanan" <sara@procsys.com> said:
sara> glibc-2.2.3 build on mips linux breaks with following assembler errors:
...
sara> /tmp/ccNhjRu0.s: Assembler messages:
sara> /tmp/ccNhjRu0.s:48: Warning: missing .end
sara> /tmp/ccNhjRu0.s:80: Warning: No .frame pseudo-op used in PIC code
sara> /tmp/ccNhjRu0.s:88: Warning: .end directive without a preceding .ent
This is now fixed in libc CVS.
http://sources.redhat.com/ml/libc-alpha/2004-04/msg00078.html
Also, you might have to pass -fno-unit-at-a-time to gcc 3.4. (at
least glibc 2.3.2 requires it).
---
Atsushi Nemoto
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mips linux glibc-2.3.3 build - Assembler errors in rtld.c
2004-10-05 10:16 ` Atsushi Nemoto
@ 2004-10-05 10:53 ` Maciej W. Rozycki
2004-10-05 12:17 ` Jan-Benedict Glaw
2004-10-07 4:26 ` T. P. Saravanan
1 sibling, 1 reply; 7+ messages in thread
From: Maciej W. Rozycki @ 2004-10-05 10:53 UTC (permalink / raw)
To: Atsushi Nemoto; +Cc: sara, linux-mips
On Tue, 5 Oct 2004, Atsushi Nemoto wrote:
> Also, you might have to pass -fno-unit-at-a-time to gcc 3.4. (at
> least glibc 2.3.2 requires it).
Which is also fixed in the CVS. ;-)
Maciej
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mips linux glibc-2.3.3 build - Assembler errors in rtld.c
2004-10-05 10:53 ` Maciej W. Rozycki
@ 2004-10-05 12:17 ` Jan-Benedict Glaw
2004-10-05 20:15 ` Maciej W. Rozycki
0 siblings, 1 reply; 7+ messages in thread
From: Jan-Benedict Glaw @ 2004-10-05 12:17 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 777 bytes --]
On Tue, 2004-10-05 11:53:30 +0100, Maciej W. Rozycki <macro@linux-mips.org>
wrote in message <Pine.LNX.4.58L.0410051152440.20503@blysk.ds.pg.gda.pl>:
> On Tue, 5 Oct 2004, Atsushi Nemoto wrote:
>
> > Also, you might have to pass -fno-unit-at-a-time to gcc 3.4. (at
> > least glibc 2.3.2 requires it).
>
> Which is also fixed in the CVS. ;-)
So that inline mess is also gone? Find... Or is that about a different
thing?
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481 _ O _
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O
fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mips linux glibc-2.3.3 build - Assembler errors in rtld.c
2004-10-05 12:17 ` Jan-Benedict Glaw
@ 2004-10-05 20:15 ` Maciej W. Rozycki
2004-10-05 20:40 ` Jan-Benedict Glaw
0 siblings, 1 reply; 7+ messages in thread
From: Maciej W. Rozycki @ 2004-10-05 20:15 UTC (permalink / raw)
To: Jan-Benedict Glaw; +Cc: linux-mips
On Tue, 5 Oct 2004, Jan-Benedict Glaw wrote:
> > > Also, you might have to pass -fno-unit-at-a-time to gcc 3.4. (at
> > > least glibc 2.3.2 requires it).
> >
> > Which is also fixed in the CVS. ;-)
>
> So that inline mess is also gone? Find... Or is that about a different
> thing?
Could you please elaborate? What current glibc does is adding
-fno-unit-at-a-time where appropriate.
Maciej
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mips linux glibc-2.3.3 build - Assembler errors in rtld.c
2004-10-05 20:15 ` Maciej W. Rozycki
@ 2004-10-05 20:40 ` Jan-Benedict Glaw
0 siblings, 0 replies; 7+ messages in thread
From: Jan-Benedict Glaw @ 2004-10-05 20:40 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 1091 bytes --]
On Tue, 2004-10-05 21:15:14 +0100, Maciej W. Rozycki <macro@linux-mips.org>
wrote in message <Pine.LNX.4.58L.0410052114230.26193@blysk.ds.pg.gda.pl>:
> On Tue, 5 Oct 2004, Jan-Benedict Glaw wrote:
> > > > Also, you might have to pass -fno-unit-at-a-time to gcc 3.4. (at
> > > > least glibc 2.3.2 requires it).
> > >
> > > Which is also fixed in the CVS. ;-)
> >
> > So that inline mess is also gone? Find... Or is that about a different
> > thing?
>
> Could you please elaborate? What current glibc does is adding
> -fno-unit-at-a-time where appropriate.
Some weeks ago, I had a build error (gcc+glibc head) which was because
of some function being first forced to be inline, then it's address was
taken... Didn't work :-)
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de . +49-172-7608481 _ O _
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O
fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: mips linux glibc-2.3.3 build - Assembler errors in rtld.c
2004-10-05 10:16 ` Atsushi Nemoto
2004-10-05 10:53 ` Maciej W. Rozycki
@ 2004-10-07 4:26 ` T. P. Saravanan
1 sibling, 0 replies; 7+ messages in thread
From: T. P. Saravanan @ 2004-10-07 4:26 UTC (permalink / raw)
To: Atsushi Nemoto; +Cc: linux-mips
Atsushi Nemoto wrote:
>>>>>>On Tue, 05 Oct 2004 15:20:53 +0530, "T. P. Saravanan" <sara@procsys.com> said:
>>>>>>
>>>>>>
>sara> glibc-2.2.3 build on mips linux breaks with following assembler errors:
>...
>sara> /tmp/ccNhjRu0.s: Assembler messages:
>sara> /tmp/ccNhjRu0.s:48: Warning: missing .end
>sara> /tmp/ccNhjRu0.s:80: Warning: No .frame pseudo-op used in PIC code
>sara> /tmp/ccNhjRu0.s:88: Warning: .end directive without a preceding .ent
>
>This is now fixed in libc CVS.
>
>http://sources.redhat.com/ml/libc-alpha/2004-04/msg00078.html
>
>Also, you might have to pass -fno-unit-at-a-time to gcc 3.4. (at
>least glibc 2.3.2 requires it).
>
>
>
I merged the patch int the URL you gave. It worked. Thanks.
(But now I am getting a linker error. I will post it seperately.)
-Sa.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-10-07 4:32 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-05 9:50 mips linux glibc-2.3.3 build - Assembler errors in rtld.c T. P. Saravanan
2004-10-05 10:16 ` Atsushi Nemoto
2004-10-05 10:53 ` Maciej W. Rozycki
2004-10-05 12:17 ` Jan-Benedict Glaw
2004-10-05 20:15 ` Maciej W. Rozycki
2004-10-05 20:40 ` Jan-Benedict Glaw
2004-10-07 4:26 ` T. P. Saravanan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.