Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 2021 16:55:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 259799] devel/rust-cbindgen: armv6: build using "make" fails, using "cargo build --release" works
Message-ID:  <bug-259799-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259799

            Bug ID: 259799
           Summary: devel/rust-cbindgen: armv6: build using "make" fails,
                    using "cargo build --release" works
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gecko@FreeBSD.org
          Reporter: d8zNeCFG@aon.at
          Assignee: gecko@FreeBSD.org
             Flags: maintainer-feedback?(gecko@FreeBSD.org)

Scenario:
- FreeBSD 14 at 08b9cc316a319fba95af8bb13b262fe0d5526ec3
- Updating ports using portmaster
- Updating for armv6 using qemu-user-static in a filesystem holding a compl=
ete
armv6 installation (using chroot)
- Latest ports
- WRKDIRPREFIX=3D/usr/tmp
- Executing "portmaster rust-cbindgen-0.20.0_2"

Result:
- The build fails with "memory allocation of 1879048192 bytes failed"

Scenario (continued):
- "cd /usr/tmp/ports/devel/rust-cbindgen/work/cbindgen-0.20.0"

Result (continued):
- This build succeeds (but cannot be used for installing the port because i=
t is
placed in a different directory)

Expected result:
- There should not be this huge memory allocation.

Note:
- Trying to build this on a real Raspberry Pi B+ exhausts the swap space,
leading to a deadlock of the system.
- There seems to be another issue on this armv6 machine in that "ulimit
datasize" is not honored, not even for a regular user.

-- Martin

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259799-21738>