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]

umodsi3 and udivsi3


Dear all,

when I try to make a glibc 2.2.2 for host=arm-linux on a
build=i686-linux , the process fails with 

mv -f /home/ruf/Cross/build-arm-linux/glibc-2.2.2/libc.so.6.new
      /home/ruf/Cross/build-arm-linux/glibc-2.2.2/libc.so.6
/home/ruf/Cross/arm-linux/bin/arm-linux-gcc -nostdlib -nostartfiles -o
    /home/ruf/Cross/build-arm-linux/glibc-2.2.2/iconv/iconv_prog
    -Wl,-dynamic-linker=/home/ruf/Cross/arm-linux/lib/ld-linux.so.2
[...snap...]
/home/ruf/Cross/build-arm-linux/glibc-2.2.2/iconv/simple-hash.o: 
In function `lookup':
/home/ruf/Cross/src/glibc-2.2.2/iconv/../locale/programs/simple-hash.c:264:
undefined reference to `__umodsi3'
/home/ruf/Cross/src/glibc-2.2.2/iconv/../locale/programs/simple-hash.c:275:
undefined reference to `__umodsi3'

etc.

A thing, I do not understand:

- I configure glibc after I run the 1st stage of gcc -- with
  inhibit_libc set in t-linux
- I configure glibc with
  configure --prefix=/home/ruf/Cross/build-arm-linux \
            --host=arm-linux \
            --build=i686-linux

Does anyone know why this process does not include these functions into
libc.so.6 ?

What do I have to change such that they get correctly included ?

Thanks in advance for your help!

Regards,

Lukas
-- 
Lukas Ruf                        Swiss Federal Institute of Technology
Office: ETZ-G61.2                             Computer Engineering and
Phone: +41/1/632 7312                        Networks Laboratory (TIK)
Fax:   +41/1/632 1035                                      ETH Zentrum
PGP 2.6: ID D20BA2ED;                                    Gloriastr. 35
Fingerprint 6323 B9BC 9C8E 6563  B477 BADD FEA6 E6B7    CH-8092 Zurich

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


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