From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 105240 invoked by alias); 1 Jun 2018 11:43:09 -0000 Mailing-List: contact libc-help-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: libc-help-owner@sourceware.org Received: (qmail 105210 invoked by uid 89); 1 Jun 2018 11:43:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:915, HTo:D*googlemail.com X-HELO: mx1.redhat.com Received: from mx3-rdu2.redhat.com (HELO mx1.redhat.com) (66.187.233.73) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 01 Jun 2018 11:43:07 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 10D66406E897; Fri, 1 Jun 2018 11:43:06 +0000 (UTC) Received: from oldenburg.str.redhat.com (dhcp-192-212.str.redhat.com [10.33.192.212]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A00D92166BB2; Fri, 1 Jun 2018 11:43:05 +0000 (UTC) Subject: Re: Building 2.27 on CentOS To: Andreas Hubert Cc: libc-help@sourceware.org References: <73359be3-8709-5740-c0c6-63896d4106df@redhat.com> <8B580C00-0D93-4DB3-990F-9E7EAA734358@googlemail.com> <6f6bafab-d9ad-9e39-3255-670deebcca9f@redhat.com> <2A9E5497-DC73-4EC9-9936-CC136918748E@googlemail.com> From: Florian Weimer Message-ID: <2b24fce5-9b5c-1edd-eb30-3448a5894657@redhat.com> Date: Fri, 01 Jun 2018 11:43:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <2A9E5497-DC73-4EC9-9936-CC136918748E@googlemail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-06/txt/msg00003.txt.bz2 On 06/01/2018 01:38 PM, Andreas Hubert wrote: > My goal is to pack this in a RPM, but currently I just try to build it directly on the command line. Only after that works my next step would be to make it work with a spec file. In this case, please show us the *exact* commands you use, not garbled by your mail client. This includes the SCL activation step. > Maybe I have something wrong with my DTS 7 setup.. do you maybe have any sources you follow to setup you build environment that I could try to follow? I install devtoolset-7-gcc and devtoolset-7-gcc-c++, and the configure glibc with: ../git/configure --prefix=/usr CC=/opt/rh/devtoolset-7/root/usr/bin/gcc CXX=/opt/rh/devtoolset-7/root/usr/bin/g++ make -j4 Alternatively, running scl enable devtoolset-7 -- bash and entering ../git/configure --prefix=/usr make -j4 in the subshell (!) works as well. Thanks, Florian