This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: HUGEPAGE support in binutils/linux
- From: Ganesh Venkitachalam <venkitac at yahoo dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Wed, 21 Apr 2010 15:45:11 -0700 (PDT)
- Subject: Re: HUGEPAGE support in binutils/linux
Hi,
So, I am trying to use libhugetlbfs as recommended, and I get an error
like this:
-----
/usr/share/libhugetlbfs/ld.hugetlbfs --verbose --as-needed --hugetlbfs-align --hugetlbfs-script-path=/usr/share/libhugetlbfs/ldscripts <long list of object files> -lcrypt -ldl -lm -o foobar
ld-linux-x86-64.so.2 needed by /usr/lib64/libdl.so
found ld-linux-x86-64.so.2 at /lib64/ld-linux-x86-64.so.2
/usr/share/libhugetlbfs/ld.hugetlbfs: line 84: 18478 Floating point exception(core dumped) ${LD} "${args[@]}" ${HTLBOPTS}
laddu$ /usr/share/libhugetlbfs/ld.hugetlbfs --version
GNU ld version 2.19.51.0.14-37.fc12 20090722
Copyright 2008 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
------
If I try the exact same link operation with /usr/bin/ld without the
--hugetlbfs-aling --hugetlbfs-script-path=/usr/share/libhugetlbfs/ldscripts,
then it all works.
Help!
Thanks,
--Ganesh
--- On Tue, 4/20/10, H.J. Lu <hjl.tools@gmail.com> wrote:
> From: H.J. Lu <hjl.tools@gmail.com>
> Subject: Re: HUGEPAGE support in binutils/linux
> To: "Ganesh Venkitachalam" <venkitac@yahoo.com>
> Cc: binutils@sourceware.org
> Date: Tuesday, April 20, 2010, 6:59 PM
> On Tue, Apr 20, 2010 at 4:50 PM,
> Ganesh Venkitachalam
> <venkitac@yahoo.com>
> wrote:
> >
> > Thanks.
> >
> > So this proposal:
> >
> > http://www.kernel.org/pub/linux/devel/binutils/hugepage/
> >
> > has not made it anywhere?
> >
>
> It is too intrusive. Try libhugetlbfs:
>
> http://libhugetlbfs.sourceforge.net/
>
>
> --
> H.J.
>