Trouble cross compiling glibc 2.7 with powerpc 440FP target

Jason Pernito jpernito@gmail.com
Wed Nov 5 09:25:00 GMT 2008


On Wed, Nov 5, 2008 at 3:59 PM, Eric Fisher <joefoxreal@gmail.com> wrote:
> Hi,
>
> I got a same problem with glibc-2.7 and gcc-4.3.0. I just re-run the
> command printed by 'make' to build
> 'nscd' manually, and remove the 'res_hconf.o' from the command. A bug?
>

Is this the same error that I got with glibc-20081013 and gcc-4.3.2
for powerpc below?

/bonus/scratch/jpernito/btools/build_temp/powerpc-750-linux-gnu_gcc-4.3.2_glibc-20081013_pass2/nscd/connections.o:
In function `begin_drop_privileges':
/bonus/scratch/jpernito/btools/glibc-20081013/nscd/connections.c:2288:
warning: Using 'getgrouplist' in statically linked applications
requires at runtime the shared libraries from the glibc version used
for linking
/bonus/scratch/jpernito/btools/glibc-20081013/nscd/connections.c:2269:
warning: Using 'getpwnam' in statically linked applications requires
at runtime the shared libraries from the glibc version used for
linking
/bonus/scratch/jpernito/btools/build_temp/powerpc-750-linux-gnu_gcc-4.3.2_glibc-20081013_pass2/nscd/connections.o:
In function `nscd_init':
/bonus/scratch/jpernito/btools/glibc-20081013/nscd/connections.c:845:
warning: warning: inotify_add_watch is not implemented and will always
fail
/bonus/scratch/jpernito/btools/glibc-20081013/nscd/connections.c:532:
warning: warning: inotify_init is not implemented and will always fail
/bonus/scratch/jpernito/btools/glibc-20081013/nscd/connections.c:528:
warning: warning: inotify_init1 is not implemented and will always
fail
/bonus/scratch/jpernito/btools/build_temp/powerpc-750-linux-gnu_gcc-4.3.2_glibc-20081013_pass2/libc.a(res_hconf.o):
In function `_res_hconf_init':
/bonus/scratch/jpernito/btools/glibc-20081013/resolv/res_hconf.c:357:
multiple definition of `_res_hconf_init'
/bonus/scratch/jpernito/btools/build_temp/powerpc-750-linux-gnu_gcc-4.3.2_glibc-20081013_pass2/nscd/res_hconf.o:/bonus/scratch/jpernito/btools/glibc-20081013/nscd/../resolv/res_hconf.c:357:
first defined here
collect2: ld returned 1 exit status
make[3]: *** [/bonus/scratch/jpernito/btools/build_temp/powerpc-750-linux-gnu_gcc-4.3.2_glibc-20081013_pass2/nscd/nscd]
Error 1


-jason

-- 
"Regard your soldiers as your children,
  and they will follow you into the deepest valleys.
  Look on them as your beloved sons,
  and they will stand by you even unto death!"

  - Sun Tzu, the art of war



More information about the Libc-help mailing list