Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 31791

Summary: Samba 3.0 rpcclient/cmd_spoolss.c:666: internal compiler error: in add_insn_before, at emit-rtl.c:3580
Product: Gentoo Linux Reporter: jason wohlgemuth <stonent>
Component: [OLD] ServerAssignee: Gentoo's SAMBA Team <samba>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: This is the file that I was told to include

Description jason wohlgemuth 2003-10-22 21:17:12 UTC
Compiling rpcclient/cmd_spoolss.c
rpcclient/cmd_spoolss.c: In function `display_reg_value':
rpcclient/cmd_spoolss.c:666: internal compiler error: in add_insn_before, at
emit-rtl.c:3580
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into
/var/tmp/portage/samba-3.0.0-r1/temp/cci8T1nT.out file, please attach this to
your bugreport
make: *** [rpcclient/cmd_spoolss.o] Error 1

!!! ERROR: net-fs/samba-3.0.0-r1 failed.
!!! Function src_compile, Line 155, Exitcode 2
!!! SAMBA pieces

Reproducible: Always
Steps to Reproduce:
1.ACCEPT_KEYWORDS="~x86" emerge samba
2.
3.

Actual Results:  
The above errors were produced. 

Expected Results:  
compiled samba


Aurora root # emerge info
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r6, 2.4.20-gentoo-r8
                                                                                    
)
=================================================================
System uname: 2.4.20-gentoo-r8 i686 Intel(R) Pentium(R) III Mobile CPU      1000
                                                                                    
MHz
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -Os -pipe -fomit-frame-pointer -ffast-math -fforce-addr
                                                                               
     
-falign-functions=16 -falign-labels=1 -falign-loops=16 -falign-jumps=16  -fstack
                                                                                    
-protector -mfpmath=sse,387 -ftracer -fnew-ra -fmerge-all-constants -funroll-all
                                                                                    
-loops"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
                                                                                    
/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -Os -pipe -fomit-frame-pointer -ffast-math -fforce-add
                                                                                    
r -falign-functions=16 -falign-labels=1 -falign-loops=16 -falign-jumps=16  -fsta
                                                                                    
ck-protector -mfpmath=sse,387 -ftracer -fnew-ra -fmerge-all-constants -funroll-a
                                                                                    
ll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache autoaddcvs -sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu
                                                                                    
x/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg kde gnome libg++ libw
                                                                                    
ww mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv
                                                                               
     
zlib gdbm berkdb slang readline arts aalib svga tcltk java sdl gpm tcpd pam ssl
                                                                               
     
perl python esd imlib oggvorbis qt motif sse mmx X pcmcia fbdev gtk radeon openg
                                                                                    
l"
Comment 1 jason wohlgemuth 2003-10-22 21:18:50 UTC
Created attachment 19648 [details]
This is the file that I was told to include
Comment 2 jason wohlgemuth 2003-10-22 21:34:42 UTC
Hmm, I chose some less aggressive optimizations and the build worked.  Using:

CFLAGS="-march=pentium3 -Os -pipe -fomit-frame-pointer -mfpmath=sse,387 
-fforce-addr -falign-functions=4"

Worked.