I am building GLIBC-2.5 in the scratchbox and am getting the following
errors. Any idea what needs to be done.

make[3]: Leaving directory `/scratchbox/packages/glibc-2.5/glibc-2.5/elf'
gcc   -nostdlib -nostartfiles -r -o
/scratchbox/packages/glibc-2.5/glibc-build/elf/librtld.os
'-Wl,-(' 
/scratchbox/packages/glibc-2.5/glibc-build/elf/dl-allobjs.os/scratchbox/packages/glibc-
2.5/glibc-build/elf/rtld-libc.a -lgcc '-Wl,-)' \
                 -Wl,-Map,/scratchbox/packages/glibc-2.5
/glibc-build/elf/librtld.os.map
gcc   -nostdlib -nostartfiles -shared   \
                 -Wl,-z,combreloc -Wl,-z,relro -Wl,-z,defs -Wl,--verbose
2>&1 |        \
                 LC_ALL=C \
                 sed -e '/^=========/,/^=========/!d;/^=========/d'    \
                     -e 's/\. = 0 + SIZEOF_HEADERS;/& _begin = . -
SIZEOF_HEADERS;/' \
                 > /scratchbox/packages/glibc-2.5/glibc-build/elf/ld.so.lds
gcc   -nostdlib -nostartfiles -shared -o
/scratchbox/packages/glibc-2.5/glibc-build/elf/ld.so
\
                 -Wl,-z,combreloc -Wl,-z,relro -Wl,-z,defs     \
                 /scratchbox/packages/glibc-2.5/glibc-build/elf/librtld.os
-Wl,--version-script=/scratchbox/packages/glibc-2.5/glibc-build/ld.map
\
                 -Wl,-soname=ld-linux.so.2 -T /scratchbox/packages/glibc-
2.5/glibc-build/elf/ld.so.lds
/scratchbox/packages/glibc-2.5/glibc-build/elf/librtld.os: In function
`print_statistics':
/scratchbox/packages/glibc-2.5/glibc-2.5/elf/rtld.c:2828: undefined
reference to `__stack_chk_fail_local'
/scratchbox/packages/glibc-2.5/glibc-build/elf/librtld.os: In function
`process_dl_debug':
/scratchbox/packages/glibc-2.5/glibc-2.5/elf/rtld.c:2464: undefined
reference to `__stack_chk_fail_local'
/scratchbox/packages/glibc-2.5/glibc-build/elf/librtld.os: In function
`process_envvars':
/scratchbox/packages/glibc-2.5/glibc-2.5/elf/rtld.c:2723: undefined
reference to `__stack_chk_fail_local'
/scratchbox/packages/glibc-2.5/glibc-build/elf/librtld.os: In function
`dl_main':
/scratchbox/packages/glibc-2.5/glibc-2.5/elf/rtld.c:2344: undefined
reference to `__stack_chk_fail_local'
/scratchbox/packages/glibc-2.5/glibc-build/elf/librtld.os: In function
`print_search_path':
/scratchbox/packages/glibc-2.5/glibc-2.5/elf/dl-load.c:1575: undefined
reference to `__stack_chk_fail_local'
/scratchbox/packages/glibc-2.5
/glibc-build/elf/librtld.os:/scratchbox/packages/glibc-2.5/glibc-2.5/elf/dl-
load.c:1795: more undefined references to `__stack_chk_fail_local' follow
collect2: ld returned 1 exit status
make[2]: *** [/scratchbox/packages/glibc-2.5/glibc-build/elf/ld.so] Error 1
make[2]: Leaving directory `/scratchbox/packages/glibc-2.5/glibc-2.5/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/scratchbox/packages/glibc-2.5/glibc-2.5'
make: *** [all] Error 2

Thanks
- Amy
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to