[Bug 257948] */*: Fails to package on i386: pkg-static: archive_write_open_filename(*): Cannot allocate memory

2021-09-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257948

Cy Schubert  changed:

   What|Removed |Added

 Resolution|--- |Not Accepted
 Status|Open|Closed

--- Comment #10 from Cy Schubert  ---
32-bit platforms do not have the memory to properly support ASLR. Users are
advised not to enable ASLR or PIE on 32-bit platforms such as i386.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 257948] */*: Fails to package on i386: pkg-static: archive_write_open_filename(*): Cannot allocate memory

2021-09-15 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257948

--- Comment #9 from Dawid Gorecki  ---
(In reply to Cy Schubert from comment #8)
Yeah, I personally don't think that it is worth the effort to try and debug the
problem for 32-bit platforms. I'm also ok with closing this PR.

The usefulness of ASLR on 32 bits is limited anyway. We also don't build the
system on 32-bit architectures with PIE enabled by default for this reason.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 257948] */*: Fails to package on i386: pkg-static: archive_write_open_filename(*): Cannot allocate memory

2021-09-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257948

--- Comment #8 from Cy Schubert  ---
(In reply to Dawid Gorecki from comment #7)

Should we close this PR? I'm ok with that, unless you feel it's worth the
effort.

I test on i386 and amd64. Multiple slices/partitions are relatively easy to
maintain, though, 32-bit is well past its best before date.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 257948] */*: Fails to package on i386: pkg-static: archive_write_open_filename(*): Cannot allocate memory

2021-09-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257948

--- Comment #7 from Dawid Gorecki  ---
The implementation of ASLR in FreeBSD often exhausts the available address
space on 32-bit ABIs for memory intensive processes. In fact, when I last
tested this, armv7 and i386 couldn't even build world, not just ports. This is
not a problem on 64-bit - everything should work fine there. But for now the
only workaround on 32-bit (including 32-bit compatibility layer on 64-bit
architectures) is disabling the ASLR entirely.

I haven't tested architectures other than i386 and armv7 but I'm pretty sure
that this applies to 32-bit PPC and MIPS too.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 257948] */*: Fails to package on i386: pkg-static: archive_write_open_filename(*): Cannot allocate memory

2021-09-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257948

Cy Schubert  changed:

   What|Removed |Added

Product|Ports & Packages|Base System
  Flags|maintainer-feedback?(kde@Fr |
   |eeBSD.org), |
   |maintainer-feedback?(pkg@Fr |
   |eeBSD.org), |
   |merge-quarterly?|
  Component|Individual Port(s)  |kern
   Hardware|Any |i386
Version|Latest  |CURRENT

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 257948] */*: Fails to package on i386: pkg-static: archive_write_open_filename(*): Cannot allocate memory

2021-09-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257948

Cy Schubert  changed:

   What|Removed |Added

 CC||k...@freebsd.org,
   ||k...@freebsd.org

--- Comment #6 from Cy Schubert  ---
This is not a pkg problem. The work around: disable ELF32 ASLR:

kern.elf32.aslr.enable=0
kern.elf32.aslr.pie_enable=0

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 257948] */*: Fails to package on i386: pkg-static: archive_write_open_filename(*): Cannot allocate memory

2021-08-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257948

Cy Schubert  changed:

   What|Removed |Added

   Assignee|k...@freebsd.org |p...@freebsd.org

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

[Bug 257948] */*: Fails to package on i386: pkg-static: archive_write_open_filename(*): Cannot allocate memory

2021-08-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257948

--- Comment #2 from Cy Schubert  ---
===
===>  Building package for terminfo-db-20210816
pkg-static:
archive_write_open_filename(/wrkdirs/usr/ports/misc/terminfo-db/work/pkg/terminfo-db-20210816.pkg):
Cannot allocate memory
*** Error code 1

Stop.
make: stopped in /usr/ports/misc/terminfo-db
=>> Cleaning up wrkdir

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

[Bug 257948] */*: Fails to package on i386: pkg-static: archive_write_open_filename(*): Cannot allocate memory

2021-08-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257948

--- Comment #1 from Cy Schubert  ---
===
===>  Building package for python27-2.7.18_1
pkg-static:
archive_write_open_filename(/wrkdirs/usr/ports/lang/python27/work/pkg/python27-2.7.18_1.pkg):
Cannot allocate memory
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/python27
=>> Cleaning up wrkdir

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

[Bug 257948] */*: Fails to package on i386: pkg-static: archive_write_open_filename(*): Cannot allocate memory

2021-08-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257948

Cy Schubert  changed:

   What|Removed |Added

Summary|devel/cmake: Fails to   |*/*: Fails to package on
   |package on i386:|i386: pkg-static:
   |pkg-static: |archive_write_open_filename
   |archive_write_open_filename |(*): Cannot allocate memory
   |(*): Cannot allocate memory |

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