Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69298 - build g2c-pic with gcc-2.x
Summary: build g2c-pic with gcc-2.x
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-28 10:37 UTC by David Grant
Modified: 2005-12-11 18:17 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 David Grant 2004-10-28 10:37:25 UTC
Is it possible for gcc to have g2c compiled with -fPIC and call it libg2c-pic.a?

I have a package which needs that.

Debian was doing this in gcc 2.x:

gcc-2.95 (2.95.4.ds4-0.010826) unstable; urgency=low

  * Build libg2c.a with -fPIC -DPIC and name the result libg2c-pic.a.
    Link with this library to avoid linking with non-pic code.
    Use this library when building dynamically loadable objects (python
    modules, gimp plugins, ...), which need to be linked against g2c or
    a library which is linked against g2c (i.e. lapack). Packages needing
    '-lg2c-pic' must have a build dependency on
    'g77-2.95 (>= 1:2.95.4-0.010826).

 -- Matthias Klose <doko@debian.org>  Sun, 26 Aug 2001 13:59:03 +0200
Comment 1 SpanKY gentoo-dev 2004-11-23 21:35:56 UTC
could you break out the patch from the deb which would resolve this ?  just attach it here and we can merge it into the gcc-2.x ebuild
Comment 2 David Grant 2004-11-23 22:45:35 UTC
Please forgive my ignorance, but what is the drawback to just building this library (or any library for that matter) with -fPIC?
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2005-12-11 18:17:24 UTC
Never got the patch for this, so I'm assuming its not needed.  Reopen with a
patch if you want it added.