First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 47667
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: GCC Porting Team <gcc-porting@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tamran Lengyel <tamran.lengyel@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
a2ps_gcc_3.4_fix.diff Fixes the program so it can compile patch Tamran Lengyel 2004-04-12 23:16 0000 348 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 47667 depends on: Show dependency tree
Bug 47667 blocks: 48528
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-04-12 23:14 0000
a2ps fails to compile with gcc 3.4, giving the following error:


gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFFILE=\"/etc/a2ps/a2ps.cfg\" -I. -I. -I.. -I.. -I../intl -I. -O3 -pipe -msse -msse2 -ftracer -march=k8 -c path-concat.c -MT path-concat.lo -MD -MP -MF .deps/path-concat.TPlo -o path-concat.o

path-concat.c:34: error: conflicting types for 'malloc'
path-concat.c:34: error: conflicting types for 'malloc'

I will attach the patch that fixes it in the next reply


Reproducible: Always
Steps to Reproduce:
1. Emerge a2ps
2. 
3.

Actual Results:  
See above


Portage 2.0.50-r5 (default-amd64-2004.0, gcc-3.4, glibc-2.3.3_pre20040207-r0, 2.6.5)
=================================================================
System uname: 2.6.5 x86_64 5
Gentoo Base System version 1.4.6
distcc 2.13 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -msse -msse2 -ftracer -march=k8"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -msse -msse2 -ftracer -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo
http://mirrors.tds.net/gentoo http://mirror.tucdemonic.org/gentoo/
http://cudlug.cudenver.edu/gentoo/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi aim alsa amd64 apache2 apm avi berkdb bonobo cdr crypt cups
dedicated doc encode foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml imlib ipv6
jpeg libg++ libwww mikmod motif mozilla mpeg mpi msn mysql ncurses nls nogcj
nptl odbc oggvorbis opengl oss pam pdflib perl plotutils png python quicktime
readline sdl slang spell ssl tcltk tcpd tetex tiff truetype usb xml2 xmms xv
yahoo zlib"

------- Comment #1 From Tamran Lengyel 2004-04-12 23:16:46 0000 -------
Created an attachment (id=29182) [edit]
Fixes the program so it can compile

------- Comment #2 From Danny van Dyk (RETIRED) 2004-04-21 12:38:21 0000 -------
Reassigned to gcc-porting@g.o

------- Comment #3 From SpanKY 2004-04-27 00:15:49 0000 -------
added to portage, thanks

First Last Prev Next    No search results available      Search page      Enter new bug