Bug#344503: Icon build failure on arm due to gcc-4.0 regression

2006-01-01 Thread Falk Hueffner
Jurij Smakov <[EMAIL PROTECTED]> writes:

> The latest upload of icon (9.4.2-2.4) has failed to build on arm with
> the current gcc-4.0 in sid (4.0.2-5). After some investigation I've
> found that this is gcc-4.0 fault, and the build failures start with
> the version 4.0.1-7 (4.0.1-6 builds the same source fine). Also,
> 4.0.1-7 works fine if I change the optimization level from -O2 to -O0.

What happens with -fno-strict-aliasing? There are zillions of warnings
about aliasing problems.

> Please let me know if you need more details and I'll try to dig into
> it.

It would be nice to have a stand-alone testcase. Can you try to
produce one?

-- 
Falk


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#345550: g++-4.0: Fails to compile C++ with -frepo

2006-01-01 Thread Roger Leigh
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

This has been reported upstream as GCC Bugzilla #25625:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25625


Regards,
Roger

- -- 
Roger Leigh
Printing on GNU/Linux?  http://gimp-print.sourceforge.net/
Debian GNU/Linuxhttp://www.debian.org/
GPG Public Key: 0x25BFB848.  Please sign and encrypt your mail.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8+ 

iD8DBQFDuBt+VcFcaSW/uEgRAgowAKDwms09xfVUXJ+qDR+If1H1T0RqxwCfdud0
kzVZurCumuSBAqU/xthpGUs=
=KAyU
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#345525: gcc-4.0: [x86_64] Can't get the build-dep for AMD64

2006-01-01 Thread Emmanuel Fleury
Package: gcc-4.0
Version: 4.0.2-5
Severity: minor
Justification: fails to build from source

I am running on an AMD64 with an AMD64 only repository. I tried to
compile gcc on my computer so I tried to get the depencies for the
compilation solved:

odin:~# apt-get build-dep gcc-4.0
Reading package lists... Done
Building dependency tree... Done
Package libc6-dev-i386 is not available, but is referred to by another
package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
The following NEW packages will be installed:
  autogen automake1.9 autotools-dev chrpath dejagnu doxygen
expect-tcl8.3 gawk
  gnat-4.0 gperf graphviz ia32-libs ia32-libs-dev lib32gcc1 lib32z1
  lib32z1-dev libgmp3-dev libgmpxx3 libgnat-4.0 libmpfr-dev libmpfr1
libopts25
  libopts25-dev libtool realpath tcl8.3
0 upgraded, 26 newly installed, 0 to remove and 0 not upgraded.
E: Package libc6-dev-i386 has no installation candidate
E: Failed to process build dependencies



Well, nothing really serious but it would be nice to have this fixex. ;)

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.3
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages gcc-4.0 depends on:
ii  binutils 2.16.1cvs20051214-1 The GNU assembler, linker
and bina
ii  cpp-4.0  4.0.2-5 The GNU C preprocessor
ii  gcc-4.0-base 4.0.2-5 The GNU Compiler Collection
(base
ii  libc62.3.5-10GNU C Library: Shared
libraries an
ii  libgcc1  1:4.0.2-5   GCC support library

Versions of packages gcc-4.0 recommends:
ii  libc6-dev 2.3.5-10   GNU C Library: Development
Librari
pn  libmudflap0-dev(no description available)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#345550: g++-4.0: Fails to compile C++ with -frepo

2006-01-01 Thread Roger Leigh
Package: g++-4.0
Version: 4.0.2-5
Severity: normal

Hi, given this trivial C++ code:

#include 
#include 

int main(void)
{
  std::cout << boost::format("Hello %1%!\n%2%\n") % "world" % 343
<< std::flush;
  return 0;
}

It fails to compile:

$ g++ -frepo -c test.cc
/usr/include/boost/mpl/aux_/integral_wrapper.hpp: In instantiation of 
‘mpl_::integral_c’:
/usr/include/boost/type_traits/integral_constant.hpp:21:   instantiated from 
‘boost::integral_constant’
/usr/include/boost/type_traits/alignment_of.hpp:81:   instantiated from here
/usr/include/boost/mpl/aux_/integral_wrapper.hpp:72: error: ‘(((unsigned 
int)mpl_::integral_c::value) + 1u)’ is not a valid template 
argument for type ‘unsigned int’ because it is a non-constant expression
/usr/include/boost/mpl/aux_/integral_wrapper.hpp: In instantiation of 
‘mpl_::integral_c’:
/usr/include/boost/type_traits/integral_constant.hpp:21:   instantiated from 
‘boost::integral_constant’
/usr/include/boost/type_traits/alignment_of.hpp:81:   instantiated from here
/usr/include/boost/mpl/aux_/integral_wrapper.hpp:73: error: ‘(((unsigned 
int)mpl_::integral_c::value) - 1u)’ is not a valid template 
argument for type ‘unsigned int’ because it is a non-constant expression
/usr/include/boost/mpl/aux_/integral_wrapper.hpp: In instantiation of 
‘mpl_::int_<3>’:
/usr/include/boost/mpl/if.hpp:131:   instantiated from here
/usr/include/boost/mpl/aux_/integral_wrapper.hpp:72: error: 
‘(((int)mpl_::int_<3>::value) + 1)’ is not a valid template argument for type 
‘int’ because it is a non-constant expression
/usr/include/boost/mpl/aux_/integral_wrapper.hpp: In instantiation of 
‘mpl_::int_<3>’:
/usr/include/boost/mpl/if.hpp:131:   instantiated from here
/usr/include/boost/mpl/aux_/integral_wrapper.hpp:73: error: 
‘(((int)mpl_::int_<3>::value) - 1)’ is not a valid template argument for type 
‘int’ because it is a non-constant expression
/usr/include/boost/mpl/aux_/integral_wrapper.hpp: In instantiation of 
‘mpl_::int_<-0x1>’:
/usr/include/boost/mpl/if.hpp:131:   instantiated from here
/usr/include/boost/mpl/aux_/integral_wrapper.hpp:72: error: 
‘(((int)mpl_::int_<-0x1>::value) + 1)’ is not a valid template 
argument for type ‘int’ because it is a non-constant expression
/usr/include/boost/mpl/aux_/integral_wrapper.hpp: In instantiation of 
‘mpl_::int_<-0x1>’:
/usr/include/boost/mpl/if.hpp:131:   instantiated from here
/usr/include/boost/mpl/aux_/integral_wrapper.hpp:73: error: 
‘(((int)mpl_::int_<-0x1>::value) - 1)’ is not a valid template 
argument for type ‘int’ because it is a non-constant expression
/usr/include/boost/mpl/aux_/integral_wrapper.hpp: In instantiation of 
‘mpl_::int_<1>’:
/usr/include/boost/mpl/not.hpp:47:   instantiated from here
/usr/include/boost/mpl/aux_/integral_wrapper.hpp:72: error: 
‘(((int)mpl_::int_<1>::value) + 1)’ is not a valid template argument for type 
‘int’ because it is a non-constant expression
/usr/include/boost/mpl/aux_/integral_wrapper.hpp: In instantiation of 
‘mpl_::int_<1>’:
/usr/include/boost/mpl/not.hpp:47:   instantiated from here
/usr/include/boost/mpl/aux_/integral_wrapper.hpp:73: error: 
‘(((int)mpl_::int_<1>::value) - 1)’ is not a valid template argument for type 
‘int’ because it is a non-constant expression
/usr/include/boost/mpl/if.hpp: In instantiation of 
‘boost::mpl::if_, 
boost::optional_detail::types_when_is_ref, 
boost::optional_detail::types_when_isnt_ref >’:
/usr/include/boost/optional/optional.hpp:152:   instantiated from 
‘boost::optional_detail::optional_base’
/usr/include/boost/optional/optional.hpp:407:   instantiated from 
‘boost::optional’
/usr/include/boost/format/internals.hpp:56:   instantiated from here
/usr/include/boost/mpl/if.hpp:67: error: ‘mpl_::bool_::value’ is not a 
valid template argument for type ‘bool’ because it is a non-constant expression
/usr/include/boost/mpl/if.hpp: In instantiation of 
‘boost::mpl::if_, 
boost::optional_detail::types_when_is_ref, 
boost::optional_detail::types_when_isnt_ref >’:
/usr/include/boost/optional/optional.hpp:152:   instantiated from 
‘boost::optional_detail::optional_base’
/usr/include/boost/optional/optional.hpp:407:   instantiated from 
‘boost::optional’
/usr/include/boost/format/internals.hpp:56:   instantiated from here
/usr/include/boost/mpl/if.hpp:70: error: ‘mpl_::bool_::value’ is not a 
valid template argument for type ‘bool’ because it is a non-constant expression
/usr/include/boost/mpl/aux_/integral_wrapper.hpp: In instantiation of 
‘mpl_::integral_c’:
/usr/include/boost/type_traits/integral_constant.hpp:21:   instantiated from 
‘boost::integral_constant’
/usr/include/boost/type_traits/alignment_of.hpp:61:   instantiated from 
‘boost::alignment_of’
/usr/include/boost/optional/optional.hpp:97:   instantiated from 
‘boost::optional_detail::aligned_storage::dummy_u’
/usr/include/boost/optional/optional.hpp:98:   instantiated from 
‘boost::optional_detail::aligned_storage’
/usr/includ

Results for 3.3.6 (Debian 1:3.3.6-12) testsuite on arm-unknown-linux-gnu

2006-01-01 Thread Matthias Klose
LAST_UPDATED: 
Native configuration is arm-unknown-linux-gnu

=== libstdc++-v3 tests ===


Running target unix
XPASS: 22_locale/collate_byname.cc execution test
XPASS: 22_locale/collate_members_char.cc execution test
XPASS: 22_locale/collate_members_wchar_t.cc execution test
XPASS: 22_locale/ctype_is_char.cc execution test
XPASS: 22_locale/ctype_is_wchar_t.cc execution test
XPASS: 22_locale/members.cc execution test
XPASS: 22_locale/messages_byname.cc execution test
XPASS: 22_locale/messages_members_char.cc execution test
XPASS: 22_locale/money_get_members_char.cc execution test
XPASS: 22_locale/money_get_members_wchar_t.cc execution test
XPASS: 22_locale/money_put_members_char.cc execution test
XPASS: 22_locale/money_put_members_wchar_t.cc execution test
XPASS: 22_locale/moneypunct_byname.cc execution test
XPASS: 22_locale/moneypunct_members_char.cc execution test
XPASS: 22_locale/moneypunct_members_wchar_t.cc execution test
XPASS: 22_locale/num_get_members_char.cc execution test
XPASS: 22_locale/num_get_members_wchar_t.cc execution test
XPASS: 22_locale/num_put_members_char.cc execution test
XPASS: 22_locale/num_put_members_wchar_t.cc execution test
XPASS: 22_locale/numpunct_byname.cc execution test
XPASS: 22_locale/numpunct_members_char.cc execution test
XPASS: 22_locale/numpunct_members_wchar_t.cc execution test
XPASS: 22_locale/time_get_members_char.cc execution test
XPASS: 22_locale/time_get_members_wchar_t.cc execution test
XPASS: 22_locale/time_put_members_char.cc execution test
XPASS: 22_locale/time_put_members_wchar_t.cc execution test
WARNING: program timed out.
FAIL: 27_io/filebuf_members.cc execution test
WARNING: program timed out.
FAIL: thread/pthread5.cc execution test
WARNING: program timed out.
FAIL: thread/pthread6.cc execution test

=== libstdc++-v3 Summary ===

# of expected passes450
# of unexpected failures3
# of unexpected successes   26
# of expected failures  2
=== g++ tests ===


Running target unix
FAIL: g++.dg/abi/empty6.C  (test for warnings, line 6)
FAIL: g++.dg/abi/vbase10.C  (test for warnings, line 6)
FAIL: g++.dg/init/array16.C execution test
XPASS: g++.dg/other/packed1.C execution test
FAIL: 258: expected branch percentages not found: 25
FAIL: g++.dg/gcov/gcov-1.C gcov: 0 failures in line counts, 1 in branch 
percentages, 0 in return percentages
XPASS: g++.brendan/union1.C (test for excess errors)
XPASS: g++.oliva/linkage1.C (test for excess errors)
XPASS: g++.other/init5.C  Execution test
FAIL: g++.pt/repo3.C (test for excess errors)

=== g++ Summary ===

# of expected passes8183
# of unexpected failures6
# of unexpected successes   4
# of expected failures  95
# of untested testcases 23
# of unsupported tests  30
/build/buildd/gcc-3.3-3.3.6/build/gcc/testsuite/../g++ version 3.3.6 (Debian 
1:3.3.6-12)

=== gcc tests ===


Running target unix
WARNING: program timed out.
FAIL: gcc.c-torture/compile/20001226-1.c,  -O3 -g  
XPASS: gcc.c-torture/execute/20020720-1.c compilation,  -O1 
XPASS: gcc.c-torture/execute/20020720-1.c compilation,  -O2 
XPASS: gcc.c-torture/execute/20020720-1.c compilation,  -O3 
-fomit-frame-pointer 
XPASS: gcc.c-torture/execute/20020720-1.c compilation,  -O3 -g 
XPASS: gcc.c-torture/execute/20020720-1.c compilation,  -Os 
FAIL: gcc.c-torture/execute/ieee/fp-cmp-1.c execution,  -O0 
FAIL: gcc.c-torture/execute/ieee/fp-cmp-1.c execution,  -O1 
FAIL: gcc.c-torture/execute/ieee/fp-cmp-1.c execution,  -O2 
FAIL: gcc.c-torture/execute/ieee/fp-cmp-1.c execution,  -O3 
-fomit-frame-pointer 
FAIL: gcc.c-torture/execute/ieee/fp-cmp-1.c execution,  -O3 
-fomit-frame-pointer -funroll-loops 
FAIL: gcc.c-torture/execute/ieee/fp-cmp-1.c execution,  -O3 
-fomit-frame-pointer -funroll-all-loops -finline-functions 
FAIL: gcc.c-torture/execute/ieee/fp-cmp-1.c execution,  -O3 -g 
FAIL: gcc.c-torture/execute/ieee/fp-cmp-1.c execution,  -Os 
FAIL: gcc.c-torture/execute/ieee/fp-cmp-2.c execution,  -O0 
FAIL: gcc.c-torture/execute/ieee/fp-cmp-2.c execution,  -O1 
FAIL: gcc.c-torture/execute/ieee/fp-cmp-2.c execution,  -O2 
FAIL: gcc.c-torture/execute/ieee/fp-cmp-2.c execution,  -O3 
-fomit-frame-pointer 
FAIL: gcc.c-torture/execute/ieee/fp-cmp-2.c execution,  -O3 
-fomit-frame-pointer -funroll-loops 
FAIL: gcc.c-torture/execute/ieee/fp-cmp-2.c execution,  -O3 
-fomit-frame-pointer -funroll-all-loops -finline-functions 
FAIL: gcc.c-torture/execute/ieee/fp-cmp-2.c execution,  -O3 -g 
FAIL: gcc.c-torture/execute/ieee/fp-cmp-2.c execution,  -Os 
FAIL: gcc.c-torture/execute/ieee/fp-cmp-3.c execution,  -O0 
FAIL: gcc.c-torture/execute/ieee/fp-cmp-3.c execution,  -O1 
FAIL: gcc.c-torture/execute/ieee/fp-cmp-3.c execution,  -O2 
FAIL: gcc.c-torture/execute/ieee/fp-cmp-3.c execution,  -O3 
-fomit-frame-pointer 
FAIL: gcc.c-torture/execute/ieee/fp-cmp-3.c execution,  -O3 
-fomit-frame-pointer -funroll-loops 
FAIL: gcc.c-tor

Bug#345587: cpp-4.0: x86/powerpc inconsistency for the __linux macro

2006-01-01 Thread Vincent Lefevre
Package: cpp-4.0
Version: 4.0.2-5
Severity: normal

As shown below, the __linux macro is no longer defined when using
the C99 mode on a PowerPC machine. An x86 machine does not have
this behavior. This is normal for the linux macro to be no longer
defined (as it is not reserved), but I do not see why it should
be the case for the __linux macro. So, IMHO, the PPC should do
the same as x86.

On an x86 machine:

dixsept:~> gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v 
--enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr 
--enable-shared --with-system-zlib --libexecdir=/usr/lib 
--without-included-gettext --enable-threads=posix --enable-nls 
--program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu 
--enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo 
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr 
--disable-werror --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)

dixsept:~> gcc -dM -E -xc /dev/null | grep linux
#define __linux 1
#define __linux__ 1
#define __gnu_linux__ 1
#define linux 1

dixsept:~> gcc -std=c99 -dM -E -xc /dev/null | grep linux
#define __linux 1
#define __linux__ 1
#define __gnu_linux__ 1

On a PowerPC machine:

ay:~> gcc -v
Using built-in specs.
Target: powerpc-linux-gnu
Configured with: ../src/configure -v 
--enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr 
--enable-shared --with-system-zlib --libexecdir=/usr/lib 
--without-included-gettext --enable-threads=posix --enable-nls 
--program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu 
--enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo 
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr 
--disable-softfloat --enable-targets=powerpc-linux,powerpc64-linux 
--with-cpu=default32 --disable-werror --enable-checking=release 
powerpc-linux-gnu
Thread model: posix
gcc version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)

ay:~> gcc -dM -E -xc /dev/null | grep linux
#define __linux 1
#define __linux__ 1
#define __gnu_linux__ 1
#define linux 1

ay:~> gcc -std=c99 -dM -E -xc /dev/null | grep linux
#define __linux__ 1
#define __gnu_linux__ 1

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (900, 'testing'), (900, 'stable'), (200, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-20050829
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)

Versions of packages cpp-4.0 depends on:
ii  gcc-4.0-base  4.0.2-5The GNU Compiler Collection (base 
ii  libc6 2.3.5-8GNU C Library: Shared libraries an

cpp-4.0 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]