[Bug 2074012] Re: arm64 build failure

2024-07-25 Thread Launchpad Bug Tracker
This bug was fixed in the package optee-os - 4.3.0-1ubuntu2 --- optee-os (4.3.0-1ubuntu2) oracular; urgency=medium * d/rules: remove elf-package-metadata.specs from LDFLAGS (LP: #2074012). -- Mitchell Dzurick Wed, 24 Jul 2024 21:42:42 -0700 ** Changed in: optee-os (Ubuntu)

[Bug 2074012] Re: arm64 build failure

2024-07-25 Thread Mitchell Dzurick
This is fixed in -proposed now. ** Changed in: optee-os (Ubuntu) Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2074012 Title: arm64 build failure To manage noti

[Bug 2074012] Re: arm64 build failure

2024-07-25 Thread Mitchell Dzurick
Worth to note that I just decided to build 4.2.0 from source on arm64, and it fails with the same exact issue. Therefore, this isn't due to a change in the package itself, but a change in the build environment. -- You received this bug notification because you are a member of Ubuntu Bugs, which i

[Bug 2074012] Re: arm64 build failure

2024-07-24 Thread Mitchell Dzurick
The package builds, but I'm unsure if it's fine to just not link against the elf-package-metadata.specs. I'm just not familiar enough with that file and the effects of removing it. Some useful information seems to come from[0] about this file, which leads me to believe it's okay to remove, but can

[Bug 2074012] Re: arm64 build failure

2024-07-24 Thread Mitchell Dzurick
I got a local build working by just removing "-specs=/usr/share/dpkg/elf-package-metadata.specs" from LDFLAGS. I'm not sure at the moment if this is safe to do as I'm not very familiar with this file, but I assume since the debian build does not, it could be fine. Linked a MP on hold with the chang

[Bug 2074012] Re: arm64 build failure

2024-07-24 Thread Mitchell Dzurick
Tested a build with the new binutils currently in -proposed and still seeing a failure. $ apt-cache policy binutils-aarch64-linux-gnu binutils-aarch64-linux-gnu: Installed: 2.42.90.20240720-2ubuntu1 Candidate: 2.42.90.20240720-2ubuntu1 Version table: *** 2.42.90.20240720-2ubuntu1 100

[Bug 2074012] Re: arm64 build failure

2024-07-24 Thread Mitchell Dzurick
Just installed binutils from -proposed and testing that build now. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2074012 Title: arm64 build failure To manage notifications about this bug go to: htt

[Bug 2074012] Re: arm64 build failure

2024-07-24 Thread Mitchell Dzurick
I think we need a newer binutils version, but I'm not sure right now. Looking at the debian build logs[0] one large difference is that LDFLAGS='' in debian, but is set to LDFLAGS='-Bsymbolic-functions -specs=/usr/share/dpkg/elf-package-metadata.specs' for us. Thankfully this is easy to reproduce o