This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


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: Consistently include Makeconfig after defining subdir


On 27-02-2014 09:57, Stefan Liebler wrote:
> I cannot build glibc on S390 due to failure:
> In file included from ../sysdeps/gnu/unwind-resume.c:19:0:
> ../sysdeps/gnu/unwind-resume.c: In function 'init':
> ../sysdeps/gnu/unwind-resume.c:35:27: error: 'LIBGCC_S_SO' undeclared (first use in this function)
>    handle = __libc_dlopen (LIBGCC_S_SO);
>
> LIBGCC_S_SO is defined in gnu/lib-names.h,
> which will be generated due to Makeconfig:
> # Generate the header containing the names of all shared libraries.
> # We use a stamp file to avoid unnecessary recompilations.
> before-compile += $(common-objpfx)gnu/lib-names.h
>
> After moving "include ../Makeconfig"  directly under "subdir := csu" in csu/Makefile, the variable before-compile is now overwritten by
> "before-compile = $(objpfx)version-info.h".
>
> IÂve tested this Patch on S390.
>
> Bye
>
> ---
> 2014-02-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
>
>     * csu/Makefile: Use += instead of a =.
> ---
>
I was about to report a similar issue for PPC32/PPC64. You patch fixes the build for my environment.


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