Date: Sun, 23 Mar 2008 21:04:16 +1100 From: Peter Jeremy <peterjeremy@optushome.com.au> To: freebsd-amd64@freebsd.org Subject: Re: amd64 process sizes Message-ID: <20080323100416.GA42207@turion.vk2pj.dyndns.org> In-Reply-To: <20070907002808.GA34246@turion.vk2pj.dyndns.org> References: <20070905095049.GH1167@turion.vk2pj.dyndns.org> <20070905155354.GG53667@deviant.kiev.zoral.com.ua> <20070907002808.GA34246@turion.vk2pj.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >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 200= 4 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=3D64 > OUTPUT_FORMAT=3D"elf64-x86-64" > TEXT_START_ADDR=3D0x400000 >-MAXPAGESIZE=3D0x100000 >+MAXPAGESIZE=3D0x1000 > COMMONPAGESIZE=3D0x1000 > NONPAGED_TEXT_START_ADDR=3D0x400000 > ARCH=3D"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. --=20 Peter Jeremy --k1lZvvs/B4yU6o8G Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAkfmKyAACgkQ/opHv/APuIcWhACfQ8KL1aN04+N/IaTxfCMkP/hN KGMAn3H/iEky66Qn3sych1Dmxd+n4Hjm =urlJ -----END PGP SIGNATURE----- --k1lZvvs/B4yU6o8G--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080323100416.GA42207>