Bug 1653823 - Broken glibc cross compilation
Summary: Broken glibc cross compilation
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: glibc
Version: 7.6
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: glibc team
QA Contact: qe-baseos-tools-bugs
Depends On:
TreeView+ depends on / blocked
Reported: 2018-11-27 17:15 UTC by Paulo Andrade
Modified: 2018-11-27 17:26 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2018-11-27 17:26:13 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Paulo Andrade 2018-11-27 17:15:12 UTC
An user is working on cross compilation of glibc.

  This pseudo patch is required in resolv/Makefile, for the user setup
with recent rhel7 glibc:

+ifeq (yes,$(have-ssp-strong))
 CFLAGS-libresolv += -fstack-protector-strong
 CFLAGS-libnss_dns += -fstack-protector-strong

then, the user should just do something like this:

echo libc_cv_ssp=no >> config.cache
echo libc_cv_ssp_strong=no >> config.cache

as apparently the user is using a cross compiler built with --disable-libssp.

Comment 2 Carlos O'Donell 2018-11-27 17:26:13 UTC
Please inform the customer that this is outside the scope of support. If they are rebuilding glibc based on RHEL and they don't use a compiler with SSP enabled then they will need to patch their sources.

Note You need to log in before you can comment on or make changes to this bug.