This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

problems building gcc-3.3.1-glibc-2.2.5


Hi,

I was trying to build a mipsel-linux cross compiler with crosstool, but
it errored when building glibc-2.2.5/elf/dl-load.c:
with: 

In file included from dynamic-link.h:21,
                 from dl-load.c:32:
../sysdeps/mips/dl-machine.h:396:9: missing terminating " character
In file included from dynamic-link.h:21,
                 from dl-load.c:32:
../sysdeps/mips/dl-machine.h:454: error: parse error before "$29"


To fix this I made the following change:

--- glibc-2.2.5/sysdeps/mips/dl-machine.h.orig  Tue Dec  2 14:08:22 2003
+++ glibc-2.2.5/sysdeps/mips/dl-machine.h       Tue Dec  2 14:08:57 2003
@@ -450,7 +450,7 @@
        addu $7, $7, 4\n\
        subu $29, 16\n\
        # Call the function to run the initializers.\n\
-       jal _dl_init
+       jal _dl_init\n\ 
        addiu $29, 16\n\
        # Pass our finalizer function to the user in $2 as per ELF
ABI.\n\
        la $2, _dl_fini\n\ 


Did anyone else run into this ?? is this a valid "fix" ??

Regards, Stuart

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]