[Clfs-support] Having issues building GLIBC 32bit

William Harrington kb0iic at berzerkula.org
Sun May 11 07:18:18 PDT 2014


On May 10, 2014, at 2:42 AM, Gary Greene wrote:

> /home/builder/sources/glibc-build-32/resolv/ 
> libresolv_pic.a(ns_print.os): In function `__GI_ns_sprintrrf':
> ns_print.c:(.text+0x48f): undefined reference to `__stack_chk_guard'
> ns_print.c:(.text+0x5b8): undefined reference to `__stack_chk_guard'
> /home/builder/sources/glibc-build-32/resolv/ 
> libresolv_pic.a(gethnamaddr.os): In function `getanswer':
> gethnamaddr.c:(.text+0x766): undefined reference to  
> `__stack_chk_guard'
> gethnamaddr.c:(.text+0x7a5): undefined reference to  
> `__stack_chk_guard'
> /home/builder/sources/glibc-build-32/resolv/ 
> libresolv_pic.a(gethnamaddr.os): In function  
> `__GI_res_gethostbyname2':
> gethnamaddr.c:(.text+0x109c): undefined reference to  
> `__stack_chk_guard'
> /home/builder/sources/glibc-build-32/resolv/ 
> libresolv_pic.a(gethnamaddr.os):gethnamaddr.c:(.text+0x127e): more  
> undefined references to `__stack_chk_guard' follow


Check your configure output (or config.log) and compare with what I  
have below:

checking for -fstack-protector... (cached) no
checking whether x86_64-altimatos-linux-gnu-gcc -m32 implicitly  
enables -fstack-protector... no

Also the deal with libtirpc and errno... not sure what is going on, I  
have libtirpc with my arch linux host but you do have some deviations  
from the development book:

for starters  glibc 2.19, and looks like you have chosen builder for  
the build user rather than the normal clfs user (which is fine as long  
as that user is setup like the clfs user's environment from chapter 4).

State any other deviations you have

You may want to look at our current systemd book with some changes  
that may be affecting you
We aren't updating master branch as our systemd book will become  
master branch. I attempt to update package versions as time permits.

http://cross-lfs.org/view/systemd/html/index.html

Sincerely,

William Harrington



More information about the Clfs-support mailing list