First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 72909
Alias:
Product:
Component:
Status: CLOSED
Resolution: FIXED
Assigned To: CJK Team <cjk@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Yuta SATOH (RETIRED) <nigoro@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
chasen-2.4.0_pre1.ebuild.patch patch for chasen-2.4.0_pre1.ebuild patch Yuta SATOH (RETIRED) 2004-11-30 04:50 0000 263 bytes Details | Diff
2.4.0_pre1-gcc34.patch patch for chasen on gcc 3.4.x patch Yuta SATOH (RETIRED) 2004-11-30 04:52 0000 578 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 72909 depends on: Show dependency tree
Bug 72909 blocks:
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-11-30 04:47 0000
In my environment, the following error occurs and fails to compile.
I think that this problem relates to gcc 3.4.x.


source='dartsdic.cpp' object='dartsdic.lo' libtool=yes \
depfile='.deps/dartsdic.Plo' tmpdepfile='.deps/dartsdic.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DRCPATH="\"/etc/chasenrc\"" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include     -O2 -pipe -fPIC -c -o dartsdic.lo `test -f dartsdic.cpp || echo './'`dartsdic.cpp
rm -f .libs/dartsdic.lo
g++ -DRCPATH=\"/etc/chasenrc\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include -O2 -pipe -fPIC -c dartsdic.cpp -MT dartsdic.lo -MD -MP -MF .deps/dartsdic.TPlo  -fPIC -DPIC -o .libs/dartsdic.lo
dartsdic.cpp: In function `int da_build_dump(da_build_t*, char*, FILE*)':
dartsdic.cpp:187: error: ISO C++ forbids cast to non-reference type used as lvalue
make[2]: *** [dartsdic.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/chasen-2.4.0_pre1/work/chasen-2.4.0-preview1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/chasen-2.4.0_pre1/work/chasen-2.4.0-preview1'
make: *** [all] Error 2

------- Comment #1 From Yuta SATOH (RETIRED) 2004-11-30 04:50:52 0000 -------
Created an attachment (id=44981) [details]
patch for chasen-2.4.0_pre1.ebuild

------- Comment #2 From Yuta SATOH (RETIRED) 2004-11-30 04:52:37 0000 -------
Created an attachment (id=44982) [details]
patch for chasen on gcc 3.4.x

------- Comment #3 From Yuta SATOH (RETIRED) 2004-11-30 04:57:04 0000 -------
emerge info output:

Portage 2.0.51-r3 (default-ppc64-2004.3, gcc-3.4.1, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r4 ppc64)
=================================================================
System uname: 2.6.9-gentoo-r4 ppc64 PPC970, altivec supported
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.3-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="ppc64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="powerpc64-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /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="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://mirror.gentoo.gr.jp/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.jp.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib alsa altivec apache2 arts berkdb bitmap-fonts cdr chasen cjk crypt cups dga dvd dvdr emacs encode esd f77 flac flash foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imagemagick imap imlib jack joystick jpeg kakasi kde libwww lirc mad mikmod mitshm motif mozilla mpeg mule ncurses nls nogcj nptl oggvorbis opengl oss pam pdflib perl png ppc64 python qt quicktime readline samba sdl slang sndfile ssl tcpd tetex theora tiff truetype unicode usb xanim xml xml2 xmms xv xvid zlib"

------- Comment #4 From Mamoru KOMACHI (RETIRED) 2004-12-03 21:18:31 0000 -------
Yes, it's related to gcc34. All sources with chasen
have this problem (I made shinji package, available
at http://sourceforge.jp/projects/shinji/ yesterday,
and it also contains this bug)

Probablly

+	keys[size] = const_cast<char*>(key.data());

is better?

------- Comment #5 From Markus Rothe 2005-01-02 08:03:06 0000 -------
I made a revision bump, which includes Yuta's patch.

Markus

------- Comment #6 From Markus Rothe 2005-01-02 08:03:31 0000 -------
closing

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