Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35767 - ebuild request: the libgc (Garbage Collection) library
Summary: ebuild request: the libgc (Garbage Collection) library
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://www.hpl.hp.com/personal/Hans_B...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-13 18:06 UTC by Adam Hewgill
Modified: 2005-12-02 16:37 UTC (History)
0 users

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


Attachments
libgc-6.4.ebuild (New Package) (libgc-6.4.ebuild,655 bytes, text/plain)
2005-01-18 11:36 UTC, Ian Bygrave
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Hewgill 2003-12-13 18:06:52 UTC
Add  #include <gc.h>  to a c program
Place a call to GC_MALLOC within the body of the program  (optional)

gcc -o prog prog.h -lgc

Error:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgc
collect2: ld returned 1 exit status

find /usr/lib -name libgc*  fails to locate  libgc.so anywhere.


Reproducible: Always
Steps to Reproduce:
In Details.
Actual Results:  
ld fails. 

Expected Results:  
ld links app. 

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gentoo-r5) 
================================================================= 
System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(tm) Processor 
Gentoo Base System version 1.4.3.10 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -march=i686 -funroll-loops -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/
config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/
config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="sandbox ccache autoaddcvs" 
GENTOO_MIRRORS="http://212.219.56.152/sites/www.ibiblio.org/gentoo/ ftp://
ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://gentoo.mirrors.pair.com/ http://
gentoo.mirrors.pair.com/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 oss apm avi crypt cups encode foomaticdb gif gtk2 jpeg libg++ mad mikmod 
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb 
slang readline arts tetex aalib svga java sdl gpm tcpd pam libwww ssl perl python esd 
imlib oggvorbis gtk motif opengl X qt kde -gnome"
Comment 1 Adam Hewgill 2003-12-15 22:31:34 UTC
The authors page contains this comment that I believe indicates a bug not 
a feature request.

"A slightly older version of the garbage collector is now also included as part of the GNU compiler distribution. The source code for that version is available for browsing here."  See the link in the URL section above for the homepage of this library.

Adam (Original poster)
Comment 2 solar (RETIRED) gentoo-dev 2004-05-07 11:54:44 UTC
Adam,

Ok thats alot of reading please make it easy for us.
Why is it a bug vs a feature request?
What's not getting included when gcc is built?
Can you provide patches for the gcc*.ebuild's in question.
Comment 3 Adam Hewgill 2004-05-11 18:54:19 UTC
After doing furthur research this evening it seems that I
was wrong to believe the comment on the authors website 
reguarding GCC.  It does not exist in Fedora Core 2 Test 3
or Debian Sarge by default either.  It seems that this 
bug should infact be a ebuild request for the libgc package
that is most recent from the URL above.  This seems to be
the method Debian uses as it is a get-able package.

Sorry for the confusion (also I dont know how to make ebuilds
or I would do it myself)
Comment 4 Ian Bygrave 2005-01-18 11:36:51 UTC
Created attachment 48860 [details]
libgc-6.4.ebuild (New Package)

Compilation, test and install of this ebuild succeeded.
I have not tested the installed library.
Comment 5 SpanKY gentoo-dev 2005-12-02 16:37:37 UTC
thanks !  libgc-6.6 now in portage