amd64 process sizes

Peter Jeremy peterjeremy at optushome.com.au
Sun Mar 23 10:43:28 UTC 2008


Just in case anyone is tempted to try this:

On 2007-Sep-07 10:28:08 +1000, I wrote:
>Can anyone suggest a technical reason[1] for not applying the following
>patch to remove the 1MB "max page size":
>Index: /usr/src/contrib/binutils/ld/emulparams/elf_x86_64.sh
>===================================================================
>RCS file: /usr/ncvs/src/contrib/binutils/ld/emulparams/elf_x86_64.sh,v
>retrieving revision 1.1.1.6
>diff -u -r1.1.1.6 elf_x86_64.sh
>--- /usr/src/contrib/binutils/ld/emulparams/elf_x86_64.sh       16 Jun 2004 05:45:40 -0000      1.1.1.6
>+++ /usr/src/contrib/binutils/ld/emulparams/elf_x86_64.sh       7 Sep 2007 00:20:31 -0000
>@@ -2,7 +2,7 @@
> ELFSIZE=64
> OUTPUT_FORMAT="elf64-x86-64"
> TEXT_START_ADDR=0x400000
>-MAXPAGESIZE=0x100000
>+MAXPAGESIZE=0x1000
> COMMONPAGESIZE=0x1000
> NONPAGED_TEXT_START_ADDR=0x400000
> ARCH="i386:x86-64"

For reasons I don't understand, this breaks Firefox and OpenOffice.org
in 7.0-STABLE:  After rebuilding world and all ports with this change,
both get SIGSEGV in ld-elf.so.1 whilst (or just after) loading the
last .so that is part of the executable.  None of my other ports seem
affected.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-amd64/attachments/20080323/50f850f2/attachment.pgp


More information about the freebsd-amd64 mailing list