From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-vs1-f41.google.com (mail-vs1-f41.google.com [209.85.217.41]) by mx.groups.io with SMTP id smtpd.web10.2361.1660956412109367795 for ; Fri, 19 Aug 2022 17:46:52 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=qLDXAbXg; spf=pass (domain: gmail.com, ip: 209.85.217.41, mailfrom: pedro.falcato@gmail.com) Received: by mail-vs1-f41.google.com with SMTP id h67so5043235vsc.11 for ; Fri, 19 Aug 2022 17:46:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=/70qgVbxPcipbSCZLHk9lMz+M6tIITT3Le9nIWGzK9A=; b=qLDXAbXgxLBp7ia0JSbNlWDpuUlw3V54BwU1XAOF84XqvkEjLssvVxVF97DF5qlWuQ w85zIhsGywVvsoaMHqba5TMVKhzzvRskwW87UUcCqjn1e+YbY9xMvTAcvujbuE+LmI4k dU8ITMoWdNQCPqPfZ53vOarPyceCtQjzbi2wJ6xT8vDsvPYWlSl4/YEfnvhfMsp2pPqu BEPaE79Nw06sYgF9MH4TG8cU7DaFcvz0m1qJhZtXyU/+zDCy2lSvw3te3lTL76EwpjgW DIvD4yD4sOMQFLqb56HMy9RVADcM1ptJBV/jqKWtBjAEWTASjN+0tqs5tzXW2arBuH8x q9Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=/70qgVbxPcipbSCZLHk9lMz+M6tIITT3Le9nIWGzK9A=; b=160d3ef/OdUa/ratynipBmSDpPO57xH064fVeP0NinXRpHJULXAdzvoFNMfdoR0kRX EKP9oUHz7oTG8MRhEXduRwBQNW3dpJXjf40TpsRX2yxn4opTsrsXHX1jzrbBQhaF5tuN tvTVFjMwMAV3N0kZXoU33ZtaIplYkvv0rrrSx1Q9cxcWGuom9JUGX2EGfWnmHOKME5KM 3tIvsfUt5jmuIILLaWk/Yfmk6LA7O9aJd8mtk2TyStJSH+6lb7pZU7yHRW8V3uo3qvt4 c9SO1HnLoVBO8jG4rrFaLAuG2WdnYKrhcae6oBgstFSLSUkz00+/kOcJW5evlLYOwo17 Aqvw== X-Gm-Message-State: ACgBeo1P8PQCJ8o1n70XI2DDFd9MxsYf/1JGbHS5kGRuW+citPTyV7Iv S6q95ncHOVYfUF5bih+cf3ntQCYfoRr3J0LYS/bWojt8B8A= X-Google-Smtp-Source: AA6agR7/qMEaGpxBGO9ilxnpgvjZkzhytYmjouzmWZTU2ajcrX6riLrII10Nb8MmYtzrO71rnx1Zl0urupsEOA/2hGE= X-Received: by 2002:a05:6102:1626:b0:390:2616:663e with SMTP id cu38-20020a056102162600b003902616663emr1781928vsb.6.1660956410867; Fri, 19 Aug 2022 17:46:50 -0700 (PDT) MIME-Version: 1.0 References: <170CE325F85990DA.4359@groups.io> <5cd26f56-65c2-7994-04fa-1721fe9b1514@bsdio.com> In-Reply-To: <5cd26f56-65c2-7994-04fa-1721fe9b1514@bsdio.com> From: "Pedro Falcato" Date: Sat, 20 Aug 2022 01:46:39 +0100 Message-ID: Subject: Re: [edk2-devel] Problems building some Arm platforms (__stack_chk_guard/__stack_chk_fail, _GLOBAL_OFFSET_TABLE_) To: edk2-devel-groups-io , Rebecca Cran Cc: "Kinney, Michael D" , Leif Lindholm , Ard Biesheuvel , =?UTF-8?Q?Marvin_H=C3=A4user?= Content-Type: multipart/alternative; boundary="000000000000db765f05e6a18c88" --000000000000db765f05e6a18c88 Content-Type: text/plain; charset="UTF-8" Hi Rebecca, What EDK2 toolchain are you using? And how is your toolchain configured (or where did you get it from?)? It seems that it's trying to use the stack protector automatically... Thanks, Pedro On Sat, 20 Aug 2022, 00:40 Rebecca Cran, wrote: > ./Features/Ext4Pkg/Ext4Pkg.dsc is also failing - with errors about > __stack_chk_guard and __stack_chk_fail. > > > And I get an error from Andy Hayes' email: "Your message couldn't be > delivered to the recipient because you don't have permission to send to it." > > > -- > Rebecca Cran > > > On 8/19/22 17:35, Rebecca Cran wrote: > > I have an armplatbld.sh script that goes through and tries to build as > many of the Arm (AARCH64 and ARM) platforms in edk2-platforms as possible. > > I'm think this used to work for these, but I'm getting some errors now. > > I'm using edk2-platforms 46686eeb7e78efe603badd86f13777d9fb070fb8 and > edk2 e2ac68a23b4954d5c0399913a1df3dd9fd90315d. > > > Drivers/ASIX/Asix.dsc (fails with undefined references to __stack_chk_guard > and __stack_chk_fail) > > Drivers/DisplayLink/DisplayLinkPkg/DisplayLinkPkg.dsc (fails with > undefined references to __stack_chk_guard and __stack_chk_fail) > Platform/Socionext/DeveloperBox/DeveloperBoxMm.dsc (fails with bad > definition for symbol '_GLOBAL_OFFSET_TABLE_'@0x72d8 or unsupported > symbol type. For example, absolute and undefined symbols are not > supported.) > > Drivers/StandaloneMmCpu/StandaloneMmCpu (fails with undefined references > to __stack_chk_guard and __stack_chk_fail) > Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.dsc > (fails with bad definition for symbol '_GLOBAL_OFFSET_TABLE_'@0x72d8 or > unsupported symbol type. For example, absolute and undefined symbols are > not supported.) > > > -- > Rebecca Cran > > > --000000000000db765f05e6a18c88 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Rebecca,

What EDK2 toolchain are you using? And how is your toolchain configure= d (or where did you get it from?)? It seems that it's trying to use the= stack protector automatically...

Thanks,
Pedro


On Sat, 20 Aug 2022, 00:4= 0 Rebecca Cran, <rebecca@bsdio.com<= /a>> wrote:
=20 =20 =20

./Features/Ext4Pkg/Ext4Pkg.dsc is also failing - with errors about __stack_chk_guard and __stack_chk_fail.


And I get an error from Andy Hayes' email: "Your message couldn'= ;t be delivered to the recipient because you don't have permission to send to it."


--
Rebecca Cran


On 8/19/22 17:35, Rebecca Cran wrote:
=20

I have an armplatbld.sh script that goes through and tries to build as many of the Arm (AARCH64 and ARM) platforms in edk2-platforms as possible.

I'm think this used to work for these, but I'm getting some errors now.

I'm using edk2-platforms 46686eeb7e78efe603badd86f13777d9fb070fb8 and edk2 e2ac68a23b4954d5c0399913a1df3dd9fd90315d.=


Drivers/ASIX/Asix.dsc (fails with undefined references to __stack_chk_guard and __stack_chk_fail)

Drivers/DisplayLink/DisplayLinkPkg/DisplayLinkPk= g.dsc (fails with undefined references to __stack_chk_guard and __stack_chk_fail)
Platform/Socionext/DeveloperBox/DeveloperBoxMm.ds= c (fails with b= ad definition for symbol '_GLOBAL_OFFSET_TABLE_'@0x72d= 8 or unsupported symbol type.=C2=A0 For example, absolute and undefined symbols are not supported.)<= /span>

Drivers/Stan= daloneMmCpu/StandaloneMmCpu (fail= s with undefined references to __stack_chk_guard and = __stack_chk_fail)<= /span>
Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRp= mb.dsc (fails with bad definition for symbol '_GLOBAL_OFFSET_TABLE_'@0x72d8 or unsuppo= rted symbol type.=C2=A0 For example, absolute and undefined symbols are not supported.)


--
Rebecca Cran

=20
--000000000000db765f05e6a18c88--