From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::435; helo=mail-wr1-x435.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 10735211F1E0E for ; Wed, 3 Apr 2019 03:59:32 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id s15so1403188wra.12 for ; Wed, 03 Apr 2019 03:59:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=BgNuobS9zYHc4upFtVQeQn282eFugxesxIz6PFH5gt4=; b=f4rDE0+v22AP7GfEfBxLbue169O28vMXi7XNJeFOeLnsO/2qBmLMswKEBdYaR4BFSU f0bBfTe9NyffHJpii3emzm1kAdKRRF4ediJO8fbqVw3jKkAfx1OnrYM2NvT1koH9ai6s WmHlHlQ+l5iR4lBhGJnXCTkEDbtI1ensR/NvdWrbzEg9jcSImwos452EAwIInNvGSR0H VNKeMlBeZjyl6nY23p7ZPhaWN6prL/4Zvv6bGln8unPr3RwAF5jppzhQfauCBYQg1y/S ayg8ejyIco1sGBK/SefKcv3m0Cr43C/H4XefhMuHMQ4ogLxJNbBH5lzulYTsGkq7XkPx DuPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=BgNuobS9zYHc4upFtVQeQn282eFugxesxIz6PFH5gt4=; b=qH7uMC92qVzkMs23AxKhLQWPRyA2ikxZclmBgdXz7GxbP1DMxo/dhNmLUTtGwE2Vks rFqsNocz8Yvz/f16t+HXEUiMtq01WO9por5RoJ18IfeSd9Czm92r8JEZVZY3nyAt8cz1 aRr3U8ZHSLS+wfNTHYNxdWHDzXLGMX4wyuZjtaGFIvCASBYsdaqtYcCOj4I0qt0aJ9GK GhN/spWdkSPjYKKjOxp/m3oruIV6hWL3Nms+ETUd1W4SptCiPQkRpxH+WOl4GAwLabIH JSNtapws8EO0DnlZPloxYGiPT2AQiPngHpQJefTApKVgu0sLTJahV+UqB5x41kQoYnOc 1evw== X-Gm-Message-State: APjAAAX57vpcnf2S/j7Lwi4XOlfjqoWAJ4dZ+YTC7FRmRxUkDFeUMyWB pdghrsuAqGZtu5rWmrLrrEA7dA== X-Google-Smtp-Source: APXvYqxoaJgygYGNTc1re3c5aNFZaIdwpu+FiqrLXm776dKIT74DRoqqOjqEScnX2R8NfoFXFzOVXQ== X-Received: by 2002:adf:afe1:: with SMTP id y33mr27981060wrd.288.1554289171298; Wed, 03 Apr 2019 03:59:31 -0700 (PDT) Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id u17sm13323026wmj.1.2019.04.03.03.59.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 03 Apr 2019 03:59:30 -0700 (PDT) Date: Wed, 3 Apr 2019 11:59:29 +0100 From: Leif Lindholm To: wang xiaofeng Cc: Sami Mujawar , "Gao, Liming" , "edk2-devel@lists.01.org" , "ard.biesheuvel@linaro.org" Message-ID: <20190403105929.6doiivzthxrfa5hf@bivouac.eciton.net> References: <541f0df5.aa56.169e2314641.Coremail.winggundum82@163.com> <20190403080004.6olnatfjkrge35q7@bivouac.eciton.net> <738e10dc.b06a.169e23d8e5b.Coremail.winggundum82@163.com> MIME-Version: 1.0 In-Reply-To: <738e10dc.b06a.169e23d8e5b.Coremail.winggundum82@163.com> User-Agent: NeoMutt/20170113 (1.7.2) Subject: =?UTF-8?B?UmU6IGFhcmNoNjQtbGludXgtZ251LWdjYy5leGU6IGVycm9yIGR1ZSB0byBsb3NzIOKAmC/igJlpbiBjb2RlIHBhdGggaW4gaW4gSmVua2lucyBzZXJ2ZXI=?= X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Apr 2019 10:59:33 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 03, 2019 at 04:07:58PM +0800, wang xiaofeng wrote: > Hi Leif, > We use VC for X86 (do not need GCC cross complie) Ah, that was not clear from the original mail. Are both server and local system using cygwin/mingw32? Best Regards, Leif > gcc revision :=20 > Using built-in specs. > COLLECT_GCC=3Daarch64-linux-gnu-gcc.exe > COLLECT_LTO_WRAPPER=3Dc:/code/gnutools/gcc-linaro-7.3.1-2018.05-i686-ming= w32_aarch64-linux-gnu/bin/../libexec/gcc/aarch64-linux-gnu/7.3.1/lto-wrappe= r.exe > Target: aarch64-linux-gnu > Configured with: '/home/tcwg-buildslave/workspace/tcwg-make-release/build= er_arch/amd64/label/tcwg-x86_64-build/target/aarch64-linux-gnu/snapshots/gc= c.git~linaro-7.3-2018.05/configure' SHELL=3D/bin/bash --with-mpc=3D/home/tc= wg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86= _64-build/target/aarch64-linux-gnu/_build/builds/destdir/i686-w64-mingw32 -= -with-mpfr=3D/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch= /amd64/label/tcwg-x86_64-build/target/aarch64-linux-gnu/_build/builds/destd= ir/i686-w64-mingw32 --with-gmp=3D/home/tcwg-buildslave/workspace/tcwg-make-= release/builder_arch/amd64/label/tcwg-x86_64-build/target/aarch64-linux-gnu= /_build/builds/destdir/i686-w64-mingw32 --with-gnu-as --with-gnu-ld --disab= le-libmudflap --enable-lto --enable-shared --without-included-gettext --ena= ble-nls --with-system-zlib --disable-sjlj-exceptions --enable-gnu-unique-ob= ject --enable-linker-build-id --disable-libstdcxx-pch --enable-c99 --enable= -clocale=3Dgnu --enable-libstdcxx-debug --enable-long-long --with-cloog=3Dn= o --with-ppl=3Dno --with-isl=3Dno --disable-multilib --enable-fix-cortex-a5= 3-835769 --enable-fix-cortex-a53-843419 --with-arch=3Darmv8-a --enable-thre= ads=3Dposix --enable-multiarch --enable-libstdcxx-time=3Dyes --enable-gnu-i= ndirect-function --with-build-sysroot=3D/home/tcwg-buildslave/workspace/tcw= g-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/aarch64-li= nux-gnu/_build/sysroots/aarch64-linux-gnu --with-sysroot=3D/home/tcwg-build= slave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-buil= d/target/aarch64-linux-gnu/_build/builds/destdir/i686-w64-mingw32/aarch64-l= inux-gnu/libc --enable-checking=3Drelease --disable-bootstrap --enable-lang= uages=3Dc,c++,fortran,lto --with-libiconv-prefix=3D/home/tcwg-buildslave/wo= rkspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target= /aarch64-linux-gnu/_build/builds/destdir/i686-w64-mingw32/usr --with-system= -zlib=3Dno --build=3Dx86_64-unknown-linux-gnu --host=3Di686-w64-mingw32 --t= arget=3Daarch64-linux-gnu --prefix=3D/home/tcwg-buildslave/workspace/tcwg-m= ake-release/builder_arch/amd64/label/tcwg-x86_64-build/target/aarch64-linux= -gnu/_build/builds/destdir/i686-w64-mingw32 > Thread model: posix > gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc16= 7ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) >=20 >=20 >=20 >=20 > GNUmake revision : GNUMake-3.81_win32 >=20 >=20 > Can the tool provide more debug output ? >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > At 2019-04-03 16:00:04, "Leif Lindholm" wrote: > >Sami, any ideas? > > > >Xiaofeng, what gcc is being used for x86? (output of "gcc -v") > > > >Best Regards, > > > >Leif > > > >On Wed, Apr 03, 2019 at 03:54:33PM +0800, wang xiaofeng wrote: > >> HI ARM Base tool owners, > >> I meet a strange issue that aarch64 build . The aarch64 build pass = on my local server. But it fails at Jenkins server(a Win10 autobuild syste= m written by Java that will can call edk2 bat in command line) > >>=20 > >>=20 > >> The build command is "c:\jenkins\workspace\gop2018\udk2018\gnutools\gc= c-linaro-7.3.1-2018.05-i686-mingw32_aarch64-linux-gnu\bin\aarch64-linux-gnu= -gcc" -g -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -Wno= -array-bounds -ffunction-sections -fdata-sections -include AutoGen.h -fno-c= ommon -DSTRING_ARRAY_NAME=3DUefiDevicePathLibStrings -g -Os -fshort-wchar -= fno-builtin -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -Wno-arr= ay-bounds -include AutoGen.h -fno-common -mlittle-endian -fno-short-enums -= fverbose-asm -funsigned-char -ffunction-sections -fdata-sections -Wno-addre= ss -fno-asynchronous-unwind-tables -fno-pic -fno-pie -ffixed-x18 -flto -Wno= -unused-but-set-variable -Wno-unused-const-variable -mcmodel=3Dsmall -DEDKI= I -DEFIX64 -DUEFI_BUILD -DFGL_LINUX -DGCC_TOOLCHAIN -c -o c:\jenkins\worksp= ace\gop2018\udk2018\Build\AmdGopPkg\DEBUG_GCC5\AARCH64\MdePkg\Library\UefiD= evicePathLib\UefiDevicePathLib\OUTPUT\.\DevicePathUtilities.obj -Ic:\jenkin= s\workspace\gop2018\udk2018\MdePkg\Library\UefiDevicePathLib -Ic:\jenkins\w= orkspace\gop2018\udk2018\Build\AmdGopPkg\DEBUG_GCC5\AARCH64\MdePkg\Library\= UefiDevicePathLib\UefiDevicePathLib\DEBUG -Ic:\jenkins\workspace\gop2018\ud= k2018\MdePkg -Ic:\jenkins\workspace\gop2018\udk2018\MdePkg\Include -Ic:\jen= kins\workspace\gop2018\udk2018\MdePkg\Include\AArch64 c:\jenkins\workspace\= gop2018\udk2018\MdePkg\Library\UefiDevicePathLib\DevicePathUtilities.c > >>=20 > >>=20 > >> But aarch64-linux-gnu-gcc.exe will return error with : c:jenkinsworksp= acegop2018udk2018MdePkgLibraryUefiDevicePathLibDevicePathUtilities.c: No su= ch file or director > >> The failure is due to all \ is missed from view of aarch64-linux-gnu-g= cc.exe, while the makefile and build log have '\'=20 > >> Another clue is that x86 build is ok on the same Jenkins system > >>=20 > >>=20 > >> Anyone have advice for this strange issue? > >>=20