gcc-3.4: ftbfs [sparc] error: conflicting types for 'malloc'

Bug #26522 reported by Debian Bug Importer
6
Affects Status Importance Assigned to Milestone
gcc-3.4 (Debian)
Fix Released
Unknown
gcc-3.4 (Ubuntu)
Invalid
High
Matthias Klose

Bug Description

Automatically imported from Debian bug report #341877 http://bugs.debian.org/341877

Revision history for this message
In , Matthias Klose (doko-cs) wrote : Re: Bug#341877: gcc-3.4: ftbfs [sparc] error: conflicting types for 'malloc'

block 341877 with 340835
thanks

Blars Blarson writes:
> Package: gcc-3.4
> Version: 3.4.5-1
> Severity: serious
> Justification: no longer builds from source
>
> gcc-3.4 failed to build on a sparc buildd, duplicated on my sparc pbuilder.

so do you want to report that for _every_ package that builds 64bit
binaries? really helpful ...

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #341877 http://bugs.debian.org/341877

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sat, 3 Dec 2005 11:57:45 -0800
From: Blars Blarson <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: gcc-3.4: ftbfs [sparc] error: conflicting types for 'malloc'

Package: gcc-3.4
Version: 3.4.5-1
Severity: serious
Justification: no longer builds from source

gcc-3.4 failed to build on a sparc buildd, duplicated on my sparc pbuilder.

if [ x"`case '-O2 -g -O2 -m64 -g -O2 -D_GNU_SOURCE -fno-implicit-templates -m64' in *-fpic* ) echo -fpic ;; * ) echo -fPIC ;; esac`" != x ]; then \
  /build/buildd/gcc-3.4-3.4.5/build/gcc/xgcc -B/build/buildd/gcc-3.4-3.4.5/build/gcc/ -B/usr/sparc-linux-gnu/bin/ -B/usr/sparc-linux-gnu/lib/ -isystem /usr/sparc-linux-gnu/include -isystem /usr/sparc-linux-gnu/sys-include -c -DHAVE_CONFIG_H -O2 -g -O2 -m64 -I. -I../../../../src/libiberty/../include -W -Wall -Wtraditional -pedantic `case '-O2 -g -O2 -m64 -g -O2 -D_GNU_SOURCE -fno-implicit-templates -m64' in *-fpic* ) echo -fpic ;; * ) echo -fPIC ;; esac` ../../../../src/libiberty/regex.c -o pic/regex.o; \
else true; fi
../../../../src/libiberty/regex.c:132: warning: conflicting types for built-in function 'malloc'
In file included from /usr/include/bits/string2.h:1299,
                 from /usr/include/string.h:417,
                 from ../../../../src/libiberty/regex.c:151:
/usr/include/stdlib.h:584: error: conflicting types for 'malloc'
../../../../src/libiberty/regex.c:132: error: previous declaration of 'malloc' was here
/usr/include/stdlib.h:584: error: conflicting types for 'malloc'
../../../../src/libiberty/regex.c:132: error: previous declaration of 'malloc' was here
In file included from ../../../../src/libiberty/../include/xregex.h:26,
                 from ../../../../src/libiberty/regex.c:195:
../../../../src/libiberty/../include/xregex2.h:548: warning: ISO C90 does not support `static' or type qualifiers in parameter array declarators
In file included from ../../../../src/libiberty/regex.c:649:
../../../../src/libiberty/regex.c: In function `byte_regex_compile':
../../../../src/libiberty/regex.c:2473: warning: implicit declaration of function `free'
../../../../src/libiberty/regex.c: In function `byte_compile_range':
../../../../src/libiberty/regex.c:4548: warning: signed and unsigned type in conditional expression
../../../../src/libiberty/regex.c:4558: warning: signed and unsigned type in conditional expression
../../../../src/libiberty/regex.c:4558: warning: signed and unsigned type in conditional expression
../../../../src/libiberty/regex.c: In function `byte_re_compile_fastmap':
../../../../src/libiberty/regex.c:4898: warning: implicit declaration of function `abort'
../../../../src/libiberty/regex.c: In function `xregcomp':
../../../../src/libiberty/regex.c:8043: warning: signed and unsigned type in conditional expression
../../../../src/libiberty/regex.c: At top level:
../../../../src/libiberty/regex.c:8178: warning: unused parameter 'preg'
make[6]: *** [regex.o] Error 1
make[6]: Leaving directory `/build/buildd/gcc-3.4-3.4.5/build/sparc-linux-gnu/64/libiberty'

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Sat, 3 Dec 2005 21:14:44 +0100
From: Matthias Klose <email address hidden>
To: Blars Blarson <email address hidden>, <email address hidden>
CC: <email address hidden>
Subject: Re: Bug#341877: gcc-3.4: ftbfs [sparc] error: conflicting types for 'malloc'

block 341877 with 340835
thanks

Blars Blarson writes:
> Package: gcc-3.4
> Version: 3.4.5-1
> Severity: serious
> Justification: no longer builds from source
>
> gcc-3.4 failed to build on a sparc buildd, duplicated on my sparc pbuilder.

so do you want to report that for _every_ package that builds 64bit
binaries? really helpful ...

Revision history for this message
Matthias Klose (doko) wrote :

Debian only

Revision history for this message
In , Steve Langasek (vorlon) wrote : block 341189 with 341514, block 341877 with 341514, merging 341514 340835

# Automatically generated email from bts, devscripts version 2.9.9
block 341189 with 341514
block 341877 with 341514
merge 341514 340835

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Thu, 8 Dec 2005 02:11:51 -0800
From: Steve Langasek <email address hidden>
To: <email address hidden>
Subject: block 341189 with 341514, block 341877 with 341514, merging 341514 340835

# Automatically generated email from bts, devscripts version 2.9.9
block 341189 with 341514
block 341877 with 341514
merge 341514 340835

Revision history for this message
In , Steve Langasek (vorlon) wrote :

This bug should be fixed with the upload of glibc 2.3.5-9.

Thanks,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
<email address hidden> http://www.debian.org/

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Mon, 26 Dec 2005 22:38:53 -0800
From: Steve Langasek <email address hidden>
To: <email address hidden>
Subject: Re: gcc-3.4: ftbfs [sparc] error: conflicting types for 'malloc'

--kORqDWCi7qDJ0mEj
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

This bug should be fixed with the upload of glibc 2.3.5-9.

Thanks,
--=20
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
<email address hidden> http://www.debian.org/

--kORqDWCi7qDJ0mEj
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDsOF9KN6ufymYLloRAlw4AKCixtr0VGZtLVGls9tlLt9qOndB7ACgzAs5
dhdit/XMTc1UHN0lPEU7fxc=
=BYzO
-----END PGP SIGNATURE-----

--kORqDWCi7qDJ0mEj--

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.