[Bug 253766] databases/pgloader3: builds on i386 now (and other non-64)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Feb 24 00:59:51 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253766
Mario Duhanic <freebsd-ravioli at duhanic.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #222726|0 |1
is obsolete| |
Attachment #222777| |maintainer-approval+
Flags| |
--- Comment #4 from Mario Duhanic <freebsd-ravioli at duhanic.com> ---
Created attachment 222777
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=222777&action=edit
proposed patch for patch-Makefile, diff -u ports files/patch-Makefile.diff
Thanks for the comments!
I was thinking about truncating "sysctl -n hw.usermem" somehow (to avoid an
overflow) and checking if we are able to allocate 1 or 4 GiB or so to come back
to the initial problem "can I haz memory". But this didn't seem to look quite
elegant.
Now I'm using "getconf LONG_BIT" to compare against, which should cover
hopefully all or most of the ILP32 and LP64 data model cases, see also the
sys/*/include/_limits.h.
Poudriere ran on both amd64 and i386 without problems with the desired and
expected results.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list