Re: git: 9cabef3d146e - main - ldd: use direct exec mode unconditionally
- In reply to: Kristof Provost : "Re: git: 9cabef3d146e - main - ldd: use direct exec mode unconditionally"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 22 Oct 2022 01:33:39 UTC
On Fri, Oct 21, 2022 at 02:18:04PM +0200, Kristof Provost wrote: > On 6 Oct 2022, at 17:50, Konstantin Belousov wrote: > > commit 9cabef3d146e9a844813b6bc8952d6cf2e9d45e5 > > > > ldd: use direct exec mode unconditionally > > > > Trying to exec malformed or unusual binary, for instance, a > > non-FreeBSD ABI, or using a non-standard interpreter, might > > give unexpected outcome. > > > This appears to break things for armv7 (running on aarch64). > > During that build a couple ports fail to build, including > databases/sqlite3. > It fails running `/usr/bin/ldd -a > "/wrkdirs/usr/ports/databases/sqlite3/work-default/stage/usr/local/bin/sqlite3" > "/wrkdirs/usr/ports/databases/sqlite3/work-default/stage/usr/local/lib/libsqlite3.so???`, > which produces: > > ld-elf.so.1: > /wrkdirs/usr/ports/databases/sqlite3/work-default/stage/usr/local/bin/sqlite3: > mmap of entire address space failed: Cannot allocate memory I'm seeing something similar on i386 as well for one of my ports: http://beefy17.nyi.freebsd.org/data/main-i386-default/pce69f38a72dd_s9c95013905/logs/netradiant-20150621_4.log ./danfe