Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6111 - Fix for gcc-3.2 and optimizations with STLport
Summary: Fix for gcc-3.2 and optimizations with STLport
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Brandon Low (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-06 14:51 UTC by Nicholas Wourms
Modified: 2002-09-13 12:46 UTC (History)
2 users (show)

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


Attachments
Patch for gcc-3.1 and gcc-3.2 support (STLport-4.5.3-gcc3.patch,695 bytes, patch)
2002-08-06 15:27 UTC, Nicholas Wourms
Details | Diff
Patch for user defined optimizations a.la. make.conf (STLport-4.5.3-optimize.patch,1.05 KB, patch)
2002-08-06 15:29 UTC, Nicholas Wourms
Details | Diff
ebuild for the aforementioned patches + fix for make (STLport-4.5.3-r1.ebuild,963 bytes, patch)
2002-08-06 15:32 UTC, Nicholas Wourms
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nicholas Wourms 2002-08-06 14:51:25 UTC
When I first attempted to emerge STLport, it failed because the ebuild
was trying to make -f in the wrong dir.  After fixing that, I noticed
that the defined path for the standard c++ include files was wrong for
gcc-3.2.  I did some research and discovered that this was a problem
for gcc-3.1 as well.  I motified the original patch so that it fixes the
path for gcc-3.2 as well.  Finally, I wasn't satisified with level of
optimization provided by the library [this is gentoo after all ;-)].  So
I have submitted another patch to fix the ebuild so that the flags in
make.conf get passed to the compiler.  So you will find 2 patches and
a modified ebuild attached to adress all of these issues.
Comment 1 Nicholas Wourms 2002-08-06 15:27:54 UTC
Created attachment 2874 [details, diff]
Patch for gcc-3.1 and gcc-3.2 support
Comment 2 Nicholas Wourms 2002-08-06 15:29:59 UTC
Created attachment 2875 [details, diff]
Patch for user defined optimizations a.la. make.conf
Comment 3 Nicholas Wourms 2002-08-06 15:32:16 UTC
Created attachment 2876 [details, diff]
ebuild for the aforementioned patches + fix for make
Comment 4 Brandon Low (RETIRED) gentoo-dev 2002-09-02 22:16:45 UTC
you kickass, applying.
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2002-09-03 13:24:30 UTC
I think an option we should consider, is maybe adding some way to get the
location to the c++ include files in some generic way.

Dunno how yet though.
Comment 6 Nicholas Wourms 2002-09-03 13:51:55 UTC
I don't think that is possible with out massive changes to how the system is
built.  You're actually supposed to edit that file for your platform, since this
package contains no configure scripts [which work][this is intentional according
to the author].  This is the best way to do it, unless someone is willing to get
the upstream provider to reimplement the autotools.
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2002-09-03 14:05:51 UTC
Hmm, ok.  Guess we will just have to keep on patching it.