From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19841 invoked by alias); 19 Dec 2017 16:55:26 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 19832 invoked by uid 89); 19 Dec 2017 16:55:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_RED autolearn=no version=3.3.2 spammy= X-HELO: relay1.mentorg.com Date: Tue, 19 Dec 2017 16:55:00 -0000 From: Joseph Myers To: "H.J. Lu" CC: GNU C Library Subject: Re: [PATCH] Add --enable-static-pie variants to x86_64, x32 and i686 In-Reply-To: <20171219010956.GA3478@gmail.com> Message-ID: References: <20171219010956.GA3478@gmail.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-SW-Source: 2017-12/txt/msg00644.txt.bz2 I see FAIL: glibcs-x86_64-linux-gnu-static-pie check with both GCC 6 and GCC 7, a linker error building elf/tst-prelink. This is: /scratch/jmyers/glibc-bot/install/compilers/x86_64-linux-gnu/lib/gcc/x86_64-glibc-linux-gnu/7.2.1/../../../../x86_64-glibc-linux-gnu/bin/ld: /scratch/jmyers/glibc-bot/build/glibcs/x86_64-linux-gnu-static-pie/glibc/elf/tst-prelink.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC (and the same with GCC 6). -- Joseph S. Myers joseph@codesourcery.com