Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94361 - ld man-page missing a line
Summary: ld man-page missing a line
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-29 02:33 UTC by Ivan Yosifov
Modified: 2005-06-12 13:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Yosifov 2005-05-29 02:33:59 UTC
In man ld you can see:
<cut>
--enable-new-dtags
--disable-new-dtags
           This  linker can create the new dynamic tags in ELF. But the older ELF
           systems may not understand them. If  you  specify  --enable-new-dtags,
           the  dynamic  tags  will  be created as needed.  If you specify --dis&#8208;
           able-new-dtags, no new dynamic tags will be created. By  default,  the
           new  dynamic  tags  are  not created. Note that those options are only
           available for ELF systems.

           Set the default size of the linker
Comment 1 Ivan Yosifov 2005-05-29 02:33:59 UTC
In man ld you can see:
<cut>
--enable-new-dtags
--disable-new-dtags
           This  linker can create the new dynamic tags in ELF. But the older ELF
           systems may not understand them. If  you  specify  --enable-new-dtags,
           the  dynamic  tags  will  be created as needed.  If you specify --dis&#8208;
           able-new-dtags, no new dynamic tags will be created. By  default,  the
           new  dynamic  tags  are  not created. Note that those options are only
           available for ELF systems.

           Set the default size of the linkers hash tables  to  a  prime  number
           close  to number.  Increasing this value can reduce the length of time
           it takes the linker to perform its tasks, at the expense of increasing
           the  linkers  memory requirements.  Similarly reducing this value can
           reduce the memory requirements at the expense of speed.

<cut>

And I think it should be:

<cut>
--enable-new-dtags
--disable-new-dtags
           This  linker can create the new dynamic tags in ELF. But the older ELF
           systems may not understand them. If  you  specify  --enable-new-dtags,
           the  dynamic  tags  will  be created as needed.  If you specify --dis&#8208;
           able-new-dtags, no new dynamic tags will be created. By  default,  the
           new  dynamic  tags  are  not created. Note that those options are only
           available for ELF systems.

--hash-size=number
           Set the default size of the linkers hash tables  to  a  prime  number
           close  to number.  Increasing this value can reduce the length of time
           it takes the linker to perform its tasks, at the expense of increasing
           the  linkers  memory requirements.  Similarly reducing this value can
           reduce the memory requirements at the expense of speed.

<cut>

The second paragraph is describing the --hash-size option, but does not say so.



Reproducible: Always
Steps to Reproduce:





Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.16
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mtune=pentium4 -msse2 -fomit-frame-pointer
-momit-leaf-frame-pointer -mfpmath=sse -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mtune=pentium4 -msse2 -fomit-frame-pointer
-momit-leaf-frame-pointer -mfpmath=sse -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--strip-all -Wl,--enable-new-dtags
-Wl,--hash-size=17000"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac acl acpi alsa apache2 avi bash-completion berkdb bitmap-fonts
bonobo cdr crypt cups curl doc dvd dvdr eds emboss encode flac foomaticdb gd
gdbm gif gnome gpm gstreamer gtk gtk2 guile hal howl imagemagick imlib ipv6
ithreads java jpeg junit kde kdeenablefinal ldap libg++ libwww mad mikmod mmap
mmx motif mozilla mp3 mpeg mysql ncurses nls nptl nvidia ogg oggvorbis opengl
pam pdflib perl pic plotutils png postgres pthreads python qt quicktime readline
sdl session sharedmem slang spell sse sse2 ssl svga symlink tcltk tcpd tetex
threads tiff truetype truetype-fonts type1-fonts unicode usb vorbis xml xml2 xv
zlib linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET
Comment 2 SpanKY gentoo-dev 2005-05-30 17:53:56 UTC
it does look that way ... i'll double check with upstream
Comment 3 SpanKY gentoo-dev 2005-06-12 13:16:26 UTC
they've fixed this upstream, thanks for the report