From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 108532 invoked by alias); 24 Nov 2015 12:07:48 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 108517 invoked by uid 89); 24 Nov 2015 12:07:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=no version=3.3.2 X-HELO: mailout2.w1.samsung.com Received: from mailout2.w1.samsung.com (HELO mailout2.w1.samsung.com) (210.118.77.12) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 24 Nov 2015 12:07:46 +0000 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NYB00CLDJ0T19A0@mailout2.w1.samsung.com> for gcc-patches@gcc.gnu.org; Tue, 24 Nov 2015 12:07:41 +0000 (GMT) Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id 36.5A.21385.D0354565; Tue, 24 Nov 2015 12:07:41 +0000 (GMT) Received: from [106.109.9.145] by eusync2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NYB00BQ9J0SJD80@eusync2.samsung.com>; Tue, 24 Nov 2015 12:07:41 +0000 (GMT) Subject: Re: [PATCH 1/2] Libsanitizer merge from upstream r253555. To: Maxim Ostapenko , Jakub Jelinek , Christophe Lyon References: <20151123132411.GB5675@tucnak.redhat.com> <565416E9.3080905@partner.samsung.com> <20151124082523.GK5675@tucnak.redhat.com> <56542184.5040003@partner.samsung.com> <20151124083833.GL5675@tucnak.redhat.com> <565426A4.1050804@partner.samsung.com> <20151124111210.GO5675@tucnak.redhat.com> <20151124112731.GP5675@tucnak.redhat.com> <5654502E.3010100@partner.samsung.com> Cc: Kostya Serebryany , GCC Patches , Vyacheslav Barinov , Slava Garbuzov , Adhemerval Zanella From: Yury Gribov Message-id: <56545344.5090006@samsung.com> Date: Tue, 24 Nov 2015 12:09:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-version: 1.0 In-reply-to: <5654502E.3010100@partner.samsung.com> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-11/txt/msg02881.txt.bz2 On 11/24/2015 02:55 PM, Maxim Ostapenko wrote: > On 24/11/15 14:27, Jakub Jelinek wrote: >> On Tue, Nov 24, 2015 at 12:23:05PM +0100, Christophe Lyon wrote: >>> On 24 November 2015 at 12:12, Jakub Jelinek wrote: >>>> On Tue, Nov 24, 2015 at 12:08:13PM +0100, Christophe Lyon wrote: >>>>>> Sure. >>>>>> I had a build in progress with your proposed patch, but it didn't >>>>>> complete before you committed :-) >>>>>> >>>>> So... it still does not work for me. I re-tried several times, made >>>>> sure I had >>>>> everything cleanup before starting new builds from scratch, hence >>>>> the delay. >>>>> >>>>> I'm still seeing: >>>>> /tmp/2050111_1.tmpdir/aci-gcc-fsf/sources/gcc-fsf/gccsrc/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:326:44: >>>>> >>>>> error: 'ARM_VFPREGS_SIZE' was not declared in this scope >>>>> unsigned struct_user_vfpregs_struct_sz = ARM_VFPREGS_SIZE; >>>> So cut'n'paste the sanitizer_platform_limits_posix.cc compilation >>>> command >>>> line and replace -c with -E -dD, then look if the wrapper >>>> asm/ptrace.h is >>>> included or not and why? >>>> >>> It pulls the one from the sysroot: >>> sysroot-arm-none-linux-gnueabihf/usr/include/asm/ptrace.h >>> (I configure GCC --with-sysroot=XXX) >> Then you should figure out where the sysroot include dirs are added in >> the >> sanitizer_common/Makefile and make sure -isystem >> $(top_srcdir)/include/system >> comes before that. >> >> Jakub >> > > It seems that I placed new header into wrong directory, it should be > libsanitizer/include/system/asm/ptrace.h > instead of > libsanitizer/include/system/linux/asm/ptrace.h FYI https://gcc.gnu.org/wiki/CompileFarm seems to have powerpc.