public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/385] New: MIPS build fails with assembler errors in rtld.c
@ 2004-09-15  0:35 daney at avtrex dot com
  2004-09-15  0:37 ` [Bug libc/385] " roland at gnu dot org
  2004-09-15  0:38 ` daney at avtrex dot com
  0 siblings, 2 replies; 3+ messages in thread
From: daney at avtrex dot com @ 2004-09-15  0:35 UTC (permalink / raw)
  To: glibc-bugs

Configured with:

../glibc-2.3.3/configure --build=i686-linux --host=mipsel-linux
--enable-add-ons=linuxthreads --prefix=/usr

mipsel-linux-gcc is GCC-3.3.1
binutils are 2.15

make
.
.
.mipsel-linux-gcc -mabi=32 rtld.c -c -std=gnu99 -O2 -Wall -Winline
-Wstrict-prototypes -Wwrite-strings -g   -fPIC    -I../include -I.
-I/newdisk/programs/mipsel-glibc233/elf -I.. -I../libio 
-I/newdisk/programs/mipsel-glibc233 -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  -D_LIBC_REENTRANT -include ../include/libc-symbols.h 
-DPIC -DSHARED -DNOT_IN_libc=1 -DIS_IN_rtld=1     -o
/newdisk/programs/mipsel-glibc233/elf/rtld.os -MD -MP -MF
/newdisk/programs/mipsel-glibc233/elf/rtld.os.dt
/tmp/ccefhYhh.s: Assembler messages:
/tmp/ccefhYhh.s:125: Warning: missing .end
/tmp/ccefhYhh.s:157: Warning: No .frame pseudo-op used in PIC code
/tmp/ccefhYhh.s:165: Warning: .end directive without a preceding .ent
directive./tmp/ccefhYhh.s:165: Error: junk at end of line, first unrecognized
character is `.'

Patch to follow.

-- 
           Summary: MIPS build fails with assembler errors in rtld.c
           Product: glibc
           Version: 2.3.3
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: daney at avtrex dot com
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: i686-linux
  GCC host triplet: mipsel-linux
GCC target triplet: mipsel-linux


http://sources.redhat.com/bugzilla/show_bug.cgi?id=385

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libc/385] MIPS build fails with assembler errors in rtld.c
  2004-09-15  0:35 [Bug libc/385] New: MIPS build fails with assembler errors in rtld.c daney at avtrex dot com
@ 2004-09-15  0:37 ` roland at gnu dot org
  2004-09-15  0:38 ` daney at avtrex dot com
  1 sibling, 0 replies; 3+ messages in thread
From: roland at gnu dot org @ 2004-09-15  0:37 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From roland at gnu dot org  2004-09-15 00:37 -------


*** This bug has been marked as a duplicate of 333 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


http://sources.redhat.com/bugzilla/show_bug.cgi?id=385

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libc/385] MIPS build fails with assembler errors in rtld.c
  2004-09-15  0:35 [Bug libc/385] New: MIPS build fails with assembler errors in rtld.c daney at avtrex dot com
  2004-09-15  0:37 ` [Bug libc/385] " roland at gnu dot org
@ 2004-09-15  0:38 ` daney at avtrex dot com
  1 sibling, 0 replies; 3+ messages in thread
From: daney at avtrex dot com @ 2004-09-15  0:38 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From daney at avtrex dot com  2004-09-15 00:38 -------
Created an attachment (id=193)
 --> (http://sources.redhat.com/bugzilla/attachment.cgi?id=193&action=view)
Patch

Applying this patch allows me to build and seems to run with no problems.

The binutils-2.15 assembler seems not to like nested functions.  So I made
_dl_start_user not be an '.ent'.  This allows it to compile, but I am uncertian
if there might be hidden bad things happening.

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=385

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-09-15  0:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-15  0:35 [Bug libc/385] New: MIPS build fails with assembler errors in rtld.c daney at avtrex dot com
2004-09-15  0:37 ` [Bug libc/385] " roland at gnu dot org
2004-09-15  0:38 ` daney at avtrex dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).