Bug 14448 - stlport doesn't compile under gcc/g++ 4.3
: stlport doesn't compile under gcc/g++ 4.3
Status: CLOSED FIXED
Product: Codex
Classification: Unclassified
Component: libs
: stable grimoire
: x86 Linux
: P2 normal
Assigned To: Grimoire Bug List
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-04-11 23:31 UTC by Javier
Modified: 2008-06-16 12:38 UTC (History)
1 user (show)

See Also:


Attachments
STLport-5.1.5.patch (1.56 KB, patch)
2008-04-11 23:31 UTC, Javier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Javier 2008-04-11 23:31:10 UTC
Under the test grimoire gcc/g++ got upgraded to 4.3.0. After casting them I
tried re-casting stlport then, and it seemed not possible:

% cast -c -r stlport
...
stlport    5.1.5
In file included from ../../stlport/limits.h:27,
                from ../../src/c_locale.c:23:
/usr/include/../include/limits.h:125:26: error: no include path in
which to search for limits.h
In file included from ../../stlport/limits.h:27,
                from ../../src/c_locale.c:23:
/usr/include/../include/limits.h:125:26: error: no include path in
which to search for limits.h
In file included from ../../stlport/limits.h:27,
                from ../../src/c_locale.c:23:
/usr/include/../include/limits.h:125:26: error: no include path in
which to search for limits.h
cat: obj/gcc/so/c_locale.d: No such file or directory
cat: obj/gcc/so_g/c_locale.d: No such file or directory
cat: obj/gcc/so_stlg/c_locale.d: No such file or directory
make: *** [depend] Error 1
 ! Problem Detected !

On stlport bugs this was reported by debian guys:

http://sourceforge.net/tracker/index.php?func=detail&aid=1925096&group_id=146814&atid=766244

And at the bottom there's an interesting suggestion:

http://stlport.svn.sourceforge.net/viewvc/stlport/trunk/STLport/stlport/limits.h?r1=1947&r2=2546

However that suggestion only works if a new DEFINED variable exists.  So then I
downloaded the latest debian patch, looking for 4.3 modifications, and modified
it just for those 4.3 issues, and things worked out pretty good, I could re-cast
stlport.  The debian patch is:

http://ftp.de.debian.org/debian/pool/main/s/stlport5.1/stlport5.1_5.1.5-3.diff.gz

And I'm attaching the one I created just for this 4.3 thing, without a bunch of
other debian modifications.
Comment 1 Javier 2008-04-11 23:31:50 UTC
Created attachment 6989 [details]
STLport-5.1.5.patch
Comment 2 Eric Sandall 2008-04-14 00:32:35 UTC
Fixed with commit c347618765d2ea04c05e7828a821677b999c8e74 in test. The patch is
much appreciated! :)