Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52227 - odd /var/tmp/portage/glibc/work references left in executables compiled by gcc
Summary: odd /var/tmp/portage/glibc/work references left in executables compiled by gcc
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High trivial (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-27 16:33 UTC by Eric Harney
Modified: 2004-05-31 20:47 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 Eric Harney 2004-05-27 16:33:55 UTC
If I compile an executable (I just used a basic hello world - "gcc hello.c") with gcc, and examine the executable in a text editor, I see numerous references to various files in /var/tmp/portage/glibc-2.3.2-r9/work/.  Not sure what these strings are exactly, but "strip" removes them all.  At any rate, as far as I know, nothing in compiled programs should be pointing to that directory.  Could be something to watch out for.

I'm using glibc-2.3.2-r9 and gcc-3.3.2-r5.

Reproducible: Always
Steps to Reproduce:
1. Compile a C program
2. Examine in a text editor



verb@slimemold bu [0] $ emerge info
Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.6-love4)
=================================================================
System uname: 2.6.6-love4 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.4.10
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/fenris /etc/gconf /etc/init.d/ /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox"
GENTOO_MIRRORS="http://ftp.gtlib.cc.gatech.edu/pub/gentoo/
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
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="3dnow X X509 aalib alsa apache2 apm avi berkdb bonobo cdr crypt dedicated
dga encode esd fbcon flac foomaticdb gdbm ggi gif gnome gpm gstreamer gtk gtk2
gtkhtml imlib java jit jpeg ldap libg++ libwww mad maildir mbox md5sum mikmod
mmx mono motif mozilla moznocompose moznoirc moznomail mozp3p mozsvg mpeg
ncurses nls offensive oggvorbis opengl oscar oss pam pdflib perl png python qt
quicktime readline sdl slang spell sse ssl svga tcpd tetex theora tiff truetype
unicode vim-with-x x86 xml xml2 xmms xv zlib"
Comment 1 SpanKY gentoo-dev 2004-05-31 20:47:55 UTC
nothing we can do about it