Bug#385066: stlport5.1_5.0.99rc2-3_i386 FTBFS with g++-4.1 from unstable
On Tuesday 29 August 2006 00:04, Torsten Werner wrote:
> Package: g++-4.1
> Version: 4.1.1-11
> Severity: important
>
> Hello,
>
>
> after upgrading g++-4.1 and libstdc++6-4.1-dev from version 4.1.1-5 to
> version 4.1.1-11 the package stlport5.1 fails to build from source on
> i386. I am attaching a full build log. The failing unit test can be
> found at about 65% of the file. The error is currently ignored when
> building the package otherwise I would have been unable to upload it.
> The upstream author is quite sure that the error is somewhere in our
> build environment. Please see
> https://sourceforge.net/tracker/?func=detail&atid=766246&aid=1546905&group_id=146814
> for a longer discussion.
>
>
> Regards,
> Torsten
Hi,
Well, really I treat this as question to package maintainers of gcc: I know only about 'official'
releases of gcc. 'Official'
bash-3.1$ gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.1.1/configure --prefix=/opt/gcc-4.1.1 --libexecdir=/usr/local/lib --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-languages=c,c++
Thread model: posix
gcc version 4.1.1
give me correct results. Then see the difference between 4.1.1-5 and 4.1.1-11: this is package
maintainer's area.
Here you say about 4.1.1-*, but in attached log I see c++ (GCC) 4.1.2 20060814 (prerelease) (Debian 4.1.1-11)...
Ah, wonderful mystification! Masquerade 4.1.2 prerelease (build from current gcc SVN?) by 4.1.1-11!
I think this is question to gcc team before release happens.
One more question to you:
c++ -pthread -fexceptions -fident -O2 -g -fuse-cxa-atexit -D_REENTRANT -I../../../stlport -c -o ....
I see you made modification of build: -O2 -g both in force, while I prefer either -O2 (release-shared) or -g (dbg-shared) or
-g -D_STLP_DEBUG (stldbg-shared).
Check what say variant without optimization, and, may be, _STLP_DEBUG mode. I'm suspect optimization first.
Good luck,
- ptr
>
>
> -- System Information:
> Debian Release: testing/unstable
> APT prefers testing
> APT policy: (986, 'testing'), (985, 'stable'), (87, 'unstable')
> Architecture: i386 (i686)
> Shell: /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.16.27
> Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
>
> Versions of packages g++-4.1 depends on:
> ii gcc-4.1 4.1.1-11 The GNU C compiler
> ii gcc-4.1-base 4.1.1-11 The GNU Compiler Collection (base
> ii libc6 2.3.6-15 GNU C Library: Shared libraries
> ii libstdc++6-4.1-dev 4.1.1-11 The GNU Standard C++ Library v3 (d
>
> g++-4.1 recommends no packages.
>
> -- no debconf information
>
Reply to: