Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68738 - cisco-vpnclient-3des + gcc-3.4 failure
Summary: cisco-vpnclient-3des + gcc-3.4 failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Chris Gianelloni (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-24 13:01 UTC by David Brigada
Modified: 2004-11-09 12:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed patch. For some reason moving the function definition above the first call fixes it. (gcc_inline_supported_devices.patch,826 bytes, patch)
2004-11-02 06:36 UTC, James Ward
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Brigada 2004-10-24 13:01:36 UTC
cisco-vpnclient-3des-4.0.5 fails to build with gcc-3.4.2.  When I previously built it with a 3.3.4 kernel, it worked.  Here is the failure message I am getting:

  CC [M]  /var/tmp/portage/cisco-vpnclient-3des-4.0.5/work/vpnclient/interceptor.o
/var/tmp/portage/cisco-vpnclient-3des-4.0.5/work/vpnclient/interceptor.c: In function `add_netdev':
/var/tmp/portage/cisco-vpnclient-3des-4.0.5/work/vpnclient/interceptor.c:59: sorry, unimplemented: inlining failed in call to 'supported_device': function body not available
/var/tmp/portage/cisco-vpnclient-3des-4.0.5/work/vpnclient/interceptor.c:245: sorry, unimplemented: called from here
make[2]: *** [/var/tmp/portage/cisco-vpnclient-3des-4.0.5/work/vpnclient/interceptor.o] Error 1
make[1]: *** [_module_/var/tmp/portage/cisco-vpnclient-3des-4.0.5/work/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.9-gentoo-r1'
make: *** [default] Error 2
Comment 1 James Ward 2004-10-24 15:52:01 UTC
I just started getting this error also.  I used gcc-config to switch back to gcc 3.3.4 and then re-merged cisco-vpnclient-3des and it worked fine.

Here is my emerge info (when I tried with 3.4.2):
Portage 2.0.51-r2 (default-x86-1.4, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System version 1.5.3
distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -fforce-addr -falign-functions=4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -fforce-addr -falign-functions=4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://gentoo.ccccom.com"
MAKEOPTS="-j2"
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 alsa apache2 apm apmd arts avi berkdb bitmap-fonts crypt cups divx eds encode esd f77 foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 imlib java jpeg kde krb4 ldap libg++ libwww mad mikmod motif mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pda pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xprint xv zlib"
Comment 2 James Ward 2004-11-02 06:36:51 UTC
Created attachment 43162 [details, diff]
Proposed patch.  For some reason moving the function definition above the first call fixes it.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2004-11-03 17:20:42 UTC
The 4.6.00.0045 version fixes this.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2004-11-05 13:20:02 UTC
Actually, it does *not* fix this... so I will add this patch when I get a chance...
Comment 5 James Ward 2004-11-05 13:26:00 UTC
thank you!
Comment 6 Matthew Kennedy (RETIRED) gentoo-dev 2004-11-07 12:09:40 UTC
Bug 70365 is related to this
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2004-11-09 12:22:56 UTC
Patch added and revision bumped... enjoy...