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]

Re: crosstool-0.28-rc23


Yi Sun wrote:
Ok, two more problem:
1. I have a empty lib-names.h.
> Even after I downloaded and installed sed and gawk from ftp.gnu.org.

A couple of people have reported this in the past:
http://lists.gnu.org/archive/html/bug-glibc/2001-12/msg00070.html
http://ricardo.ecn.wfu.edu/glib-linux-archive/0105/0010.html
http://www.mail-archive.com/linux-arm@vger.rutgers.edu/msg02604.html

It kind of sounds like a sed or shell problem still.
What does
  sed --version
say?  And what shell are you running with?  The gnu doc suggests doing

% CONFIG_SHELL=/bin/ksh
% export CONFIG_SHELL

before running crosstool. (CONFIG_SHELL=/bin/bash would probably do, too.)

http://www.limo.fumi2kick.com/fbbs/lmwiki.rhtml?topic=LinkStation%3ACrossCompile
suggests you can just do
  make gnu/lib-names.h
right after configure, which might be an easy way to test.


2. Did anyone ever see:
/usr/compiler/x86/build_dir/build-glibc/libc_pic.os(.text+0x378): In
function `__libc_csu_init':
/usr/compiler/x86/build_dir/glibc-2.3.2/csu/elf-init.c:54: undefined
reference to `__preinit_array_start'
/usr/compiler/x86/build_dir/build-glibc/libc_pic.os(.text+0x37e):/usr/compiler/x86/build_dir/glibc-2.3.2/csu/elf-init.c:54: undefined reference to `__preinit_array_end'
/usr/compiler/x86/build_dir/build-glibc/libc_pic.os(.text+0x3a2):/usr/compiler/x86/build_dir/glibc-2.3.2/csu/elf-init.c:66: undefined reference to `__init_array_start'
/usr/compiler/x86/build_dir/build-glibc/libc_pic.os(.text+0x3aa):/usr/compiler/x86/build_dir/glibc-2.3.2/csu/elf-init.c:66: undefined reference to `__init_array_end'
/usr/compiler/x86/build_dir/build-glibc/libc_pic.os(.text+0x3f6): In
function `__libc_csu_fini':
/usr/compiler/x86/build_dir/glibc-2.3.2/csu/elf-init.c:76: undefined
reference to `__fini_array_start'
/usr/compiler/x86/build_dir/build-glibc/libc_pic.os(.text+0x3fc):/usr/compiler/x86/build_dir/glibc-2.3.2/csu/elf-init.c:76: undefined reference to `__fini_array_end'
collect2: ld returned 1 exit status
make[1]: *** [/usr/compiler/x86/build_dir/build-glibc/libc.so] Error 1
make[1]: Leaving directory `/usr/compiler/x86/build_dir/glibc-2.3.2'

People have seen it before, e.g. http://sources.redhat.com/ml/libc-alpha/2004-01/msg00306.html http://sources.redhat.com/ml/bug-glibc/2004-01/msg00222.html but I'm not sure what causes it. - Dan

--
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change

------
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]