Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#625365: libgtextutils with GCC 4.6

47 views
Skip to first unread message

Assaf Gordon

unread,
May 3, 2011, 3:10:02 PM5/3/11
to
Sorry about the previous email (the "g++ fails sanity check") - it was my bad.
Should have used CXX instead of CPP shell variables.

I'm now able to compile libgtextutils using gcc/g++ version 4.6,
and I'm not seeing the error you are mentioning.

What should I change in order to reproduce the problem ?

The commands I'm running:
$ export CC=gcc-4.6
$ export CXX=g++-4.6
$ export CPP=cpp-4.6
$ wget -q http://hannonlab.cshl.edu/fastx_toolkit/libgtextutils-0.6.tar.bz2
$ tar -xjf libgtextutils-0.6.tar.bz2
$ cd libgtextutils-0.6
$ ./configure
[... normal configure output ...]
$ make

And "make" completes successfully.

I'm using:
$ gcc-4.6 -v
Using built-in specs.
COLLECT_GCC=gcc-4.6
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6.1/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.0-6' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-multiarch --with-multiarch-defaults=x86_64-linux-gnu --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.6.1 20110428 (prerelease) (Debian 4.6.0-6)

$ g++-4.6 -v
Using built-in specs.
COLLECT_GCC=g++-4.6
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6.1/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.0-6' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-multiarch --with-multiarch-defaults=x86_64-linux-gnu --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.6.1 20110428 (prerelease) (Debian 4.6.0-6)


Thanks,
-gordon

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Charles Plessy

unread,
May 8, 2011, 3:00:02 AM5/8/11
to
Le Tue, May 03, 2011 at 02:58:13PM -0400, Assaf Gordon a écrit :
>
> The commands I'm running:
> $ export CC=gcc-4.6
> $ export CXX=g++-4.6
> $ export CPP=cpp-4.6
> $ wget -q http://hannonlab.cshl.edu/fastx_toolkit/libgtextutils-0.6.tar.bz2
> $ tar -xjf libgtextutils-0.6.tar.bz2
> $ cd libgtextutils-0.6
> $ ./configure
> [... normal configure output ...]
> $ make
>
> And "make" completes successfully.

Dear Gordon,

currently, Debian's GCC is patched to downgrade the errors
“unused-but-set-variable” and “unused-but-set-parameter” to warnings, but this
will be reverted. What is needed is to compile successfully without seeing:

pipe_fitter.c:30:6: warning: variable 'i' set but not used [-Wunused-but-set-variable]

Have a nice day,

--
Charles

0 new messages