Bug#159395: FTBFS with MAKEFLAGS="-j2"

2002-09-08 Thread Matthias Klose
Joel Baker writes:
> Package: gcc-3.2
> Version: 1:3.2.1ds0-0pre1
> Severity: normal
> 
> Trying to build GCC 3.2 (using GCC 3.0.4 experimental) on the NetBSD/i386
> port with MAKEFLAGS="-j2" set (the -d flag is used to cope with the fact

FYI:
 - building Ada with -j is currenty not supported upstream.
 - libjava is built sequentially upstream (at least for 3.2).




Bug#159620: Patch for __cxa_atexit

2002-09-08 Thread Matthias Klose
cxa_atexit is on by default. Modified to:

ifneq ($(with_cxa_atexit),yes)
  CONFARGS += --disable-__cxa_atexit
endif

Joel Baker writes:
> tag 159620 +patch
> 
> diff -urN debian.orig/rules.defs debian/rules.defs
> --- debian.orig/rules.defs  Wed Sep  4 16:39:06 2002
> +++ debian/rules.defs   Wed Sep  4 16:45:59 2002
> @@ -100,6 +100,13 @@
>enabled_languages += c++
>  endif
>  
> +# __cxa_atexit -
> +# The __cxa_atexit API does not exist in some libc version (NetBSD)
> +with_cxa_atexit := yes
> +ifeq ($(DEB_HOST_ARCH), $(findstring $(DEB_HOST_ARCH),netbsd))
> +  with_cxa_atexit := disabled for architecture $(DEB_HOST_ARCH)
> +endif
> +
>  # Java 
>  # java converted for V3 C++ ABI for some archs
>  with_java := yes
> diff -urN debian.orig/rules2 debian/rules2
> --- debian.orig/rules2  Wed Sep  4 16:39:02 2002
> +++ debian/rules2   Wed Sep  4 16:41:18 2002
> @@ -62,8 +62,11 @@
> --enable-shared \
> --with-system-zlib \
> --enable-nls \
> -   --without-included-gettext \
> -   --enable-__cxa_atexit
> +   --without-included-gettext
> +
> +ifeq ($(with_cxa_atexit),yes)
> +  CONFARGS += --enable-__cxa_atexit
> +endif
>  
>  ifeq ($(with_java),yes)
>CONFARGS += --enable-java-gc=boehm
> -- 
> ***
> Joel Baker   System Administrator - lightbearer.com
> [EMAIL PROTECTED]  http://users.lightbearer.com/lucifer/
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




gcc reports multiple symbol definitions on the wrong line

2002-09-08 Thread Matthias Klose

>Submitter-Id:  net
>Originator:Andrew Suffield <[EMAIL PROTECTED]>
>Organization:  The Debian Project
>Confidential:  no
>Synopsis:  
>Severity:  non-critical
>Priority:  medium
>Category:  c
>Class: sw-bug
>Release:   3.2.1 CVS (Debian) (Debian unstable)
>Environment:
System: Debian GNU/Linux (unstable)
Architecture: i686

>Description:
[ Reported to the Debian BTS as report #159838.
  Please CC [EMAIL PROTECTED] on replies.
  Log of report can be found at http://bugs.debian.org/159838 ]

Andrew Suffield writes:

(I am not sure whether this is a bug in gcc or binutils)

[EMAIL PROTECTED]:~/tmp$ cat foo.c
int x = 0;

[EMAIL PROTECTED]:~/tmp$ cat bar.c
int x = 0;

void foo(void) {}

[EMAIL PROTECTED]:~/tmp$ gcc -shared -g -o foo.so foo.c bar.c
/tmp/cc0wTF8S.o: In function `foo':
^^^
/home/aps100/tmp/bar.c:3: multiple definition of `x'
   ^
/tmp/ccpK9pwb.o(.data+0x0):/home/aps100/tmp/foo.c: first defined here
collect2: ld returned 1 exit status
[EMAIL PROTECTED]:~/tmp$ gcc-3.2 -shared -g -o foo.so foo.c bar.c
/tmp/ccBwlA8f.o: In function `foo':
^^^
/home/aps100/tmp/bar.c:3: multiple definition of `x'
   ^
/tmp/cckwx9Kb.o(.data+0x0): first defined here
collect2: ld returned 1 exit status

Note the indicated parts. Function 'foo' has got nothing to do with
the problem, and that's the wrong place to be highlighting the error.

More generally, it appears that symbol conflicts in the global scope
will always be reported as being in the first function in the
compilation unit (not thoroughly tested, but that's what I
noticed). This means the error message might not even be pointing at
the correct file, let alone the right line.

(Needless to say, this is quite irritating).




>How-To-Repeat:

>Fix:





Bug#159838: c/7853: gcc reports multiple symbol definitions on the wrong line

2002-09-08 Thread gcc-gnats
Thank you very much for your problem report.
It has the internal identification `c/7853'.
The individual assigned to look at your
report is: unassigned. 

>Category:   c
>Responsible:unassigned
>Synopsis:   gcc reports multiple symbol definitions on the wrong line
>Arrival-Date:   Sun Sep 08 00:06:00 PDT 2002




Processed: gcc: submitted Debian report #159838 to gcc-gnats as PR c/7853

2002-09-08 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> forwarded 159838 [EMAIL PROTECTED]
Bug#159838: gcc-3.2: reports multiple symbol definitions on the wrong line
Noted your statement that Bug has been forwarded to [EMAIL PROTECTED]

> retitle 159838 [PR c/7853] gcc reports multiple symbol definitions on the 
> wrong line
Bug#159838: gcc-3.2: reports multiple symbol definitions on the wrong line
Changed Bug title.

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)




Processed: forwarded gcc report

2002-09-08 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> forwarded 157416 [EMAIL PROTECTED]
Bug#157416: cpp-3.2: _Pragma within macros is improperly expanded
Noted your statement that Bug has been forwarded to [EMAIL PROTECTED]

> retitle 157416 [fixed in 3.3] cpp: _Pragma within macros is improperly 
> expanded
Bug#157416: cpp-3.2: _Pragma within macros is improperly expanded
Changed Bug title.

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)




Bug#116145: libgcj/7854: fastjar update (-u) should be implemented

2002-09-08 Thread gcc-gnats
Thank you very much for your problem report.
It has the internal identification `libgcj/7854'.
The individual assigned to look at your
report is: unassigned. 

>Category:   libgcj
>Responsible:unassigned
>Synopsis:   fastjar update (-u) should be implemented
>Arrival-Date:   Sun Sep 08 00:36:01 PDT 2002




Processed: reassign bugs for packages not beeing built from gcc-3.1 source anymore

2002-09-08 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> reassign 151886 gcc-3.2
Bug#151886: maxima_5.6a-2(hppa/unstable): FTBFS: needs porting work for hppa?
Bug reassigned from package `gcc-3.1' to `gcc-3.2'.

> reassign 151182 g++-3.2
Bug#151182: g++-3.1: struct problems
Bug reassigned from package `g++-3.1' to `g++-3.2'.

> reassign 153965 gcc-3.2
Bug#153965: gcc-3.1: incorrect line numbers in warning messages when using 
inline functions
Bug reassigned from package `gcc-3.1' to `gcc-3.2'.

> reassign 150357 gcc-3.2-doc
Bug#150357: gcc-3.1-doc: naming inconsistency
Bug reassigned from package `gcc-3.1-doc' to `gcc-3.2-doc'.

> reassign 147864 gnat-3.2
Bug#147864: [PR ada/5679] ICE in assign_stack_temp_for_type, returning 
unconstrained type conversion
Bug reassigned from package `gnat-3.1' to `gnat-3.2'.

> reassign 148529 gnat-3.2
Bug#148529: [PR ada/6911] gnat-3.1: sin broken
Bug reassigned from package `gnat-3.1' to `gnat-3.2'.

> reassign 152501 gcj-3.2
Bug#152501: [PR java/7304] gcj-3.1 ICE
Bug reassigned from package `gcj-3.1' to `gcj-3.2'.

> reassign 153472 g++-3.2
Bug#153472: [PR c/4106] i386 -fPIC asm ebx clobber no error
Bug reassigned from package `g++-3.1' to `g++-3.2'.

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)




Processed: gcc: submitted Debian report #116145 to gcc-gnats as PR libgcj/7854

2002-09-08 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> forwarded 116145 [EMAIL PROTECTED]
Bug#116145: update (-u) should be implemented
Noted your statement that Bug has been forwarded to [EMAIL PROTECTED]

> retitle 116145 [PR libgcj/7854] fastjar update (-u) should be implemented
Bug#116145: update (-u) should be implemented
Changed Bug title.

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)




Bug#160093: conflicting file ownership in libstdc++4 and gcc-3.2-nof

2002-09-08 Thread Jack Howarth
Package: libstdc++4
Version: 3.1.1-3

This newest version conflicts with the current gcc-3.2-nof as follows..

Unpacking replacement libstdc++4 ...
dpkg: error processing 
/var/cache/apt/archives/libstdc++4_1%3a3.1.1-3_powerpc.deb (--unpack):
 trying to overwrite `/usr/lib/nof/libsupc++.la', which is also in package 
gcc-3.2-nof
dpkg-deb: subprocess paste killed by signal (Broken pipe)

I had to remove gcc-3.2-nof for libstdc++4 to install.




Bug#160175: gcc-3.2: missing message catalogs

2002-09-08 Thread YAMASHITA Junji
Package: gcc-3.2
Version: 1:3.2.1-0pre1
Severity: normal

gcc-3.1 package included message catalogs.
But gcc-3.2 package seems to miss them.

gcc-3.2 is built with `-enable-nls' configure option,
so I think this is bug.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux fine 2.4.19 #1 Mon Aug 5 15:23:44 JST 2002 i686
Locale: LANG=ja_JP.eucJP, LC_CTYPE=ja_JP.eucJP

Versions of packages gcc-3.2 depends on:
ii  binutils   2.13.90.0.4-1 The GNU assembler, linker and bina
ii  cpp-3.21:3.2.1-0pre1 The GNU C preprocessor.
ii  gcc-3.2-base   1:3.2.1-0pre1 The GNU Compiler Collection (base 
ii  libc6  2.2.5-14  GNU C Library: Shared libraries an
ii  libgcc11:3.2.1-0pre1 GCC support library.

-- no debconf information