Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 335757 - net-ftp/ncftp-3.2.4 with a UAccept.c compiler error (segfault on cc1)
Summary: net-ftp/ncftp-3.2.4 with a UAccept.c compiler error (segfault on cc1)
Status: RESOLVED DUPLICATE of bug 301299
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-03 07:20 UTC by Fernando (likewhoa)
Modified: 2010-09-03 19:23 UTC (History)
0 users

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


Attachments
build log (build.log,12.42 KB, text/plain)
2010-09-03 07:21 UTC, Fernando (likewhoa)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando (likewhoa) 2010-09-03 07:20:19 UTC
net-ftp/ncftp-3.2.4 does not compile even with -j1, it just segfaults.


Reproducible: Always

Steps to Reproduce:
1. emerge =net-ftp/ncftp-3.2.4


Actual Results:  
Compiling Strncpy_NoZeroPad.c.
Compiling Strncat_NoZeroPad.c.
Creating library libStrn.a.
  ar: creating libStrn.a
ranlib "libStrn.a"
-rw-r--r-- 1 root root 21102 Sep  3 07:17 libStrn.a
Done making Strn.
make[1]: Leaving directory `/var/tmp/portage/net-ftp/ncftp-3.2.4/work/ncftp-3.2.4/Strn'
make[1]: Entering directory `/var/tmp/portage/net-ftp/ncftp-3.2.4/work/ncftp-3.2.4/sio'
Precompiling syshdrs.h.
Compiling UAccept.c.
  i686-pc-linux-gnu-gcc -D_REENTRANT -D_LARGEFILE64_SOURCE -O2 -march=i686 -pip
  e -Wno-format-y2k -DLINUX=26034 -DLINUX_GLIBC=31002 -DHAVE_CONFIG_H -DLINUX=2
  6034 -DLINUX_GLIBC=31002 -I/var/tmp/portage/net-ftp/ncftp-3.2.4/work/ncftp-3.
  2.4 -I/var/tmp/portage/net-ftp/ncftp-3.2.4/work/ncftp-3.2.4/libncftp -I/var/t
  mp/portage/net-ftp/ncftp-3.2.4/work/ncftp-3.2.4/sio -I/var/tmp/portage/net-ft
  p/ncftp-3.2.4/work/ncftp-3.2.4/Strn UAccept.c -c
  
  i686-pc-linux-gnu-gcc: Internal error: Segmentation fault (program cc1)
  Please submit a full bug report.
  See <http://bugs.gentoo.org/> for instructions.
make[1]: *** [UAccept.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-ftp/ncftp-3.2.4/work/ncftp-3.2.4/sio'
make: *** [libs] Error 2



Portage 2.2_rc74 (default/linux/x86/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-hardened-r1 i686)
=================================================================
System uname: Linux-2.6.34-hardened-r1-i686-Intel-R-_Xeon-R-_CPU_E5420_@_2.50GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 03 Sep 2010 06:30:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.2
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.6.3-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA @BINARY-REDISTRIBUTABLE"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/portage /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="bn brx cy dgo eo eu fa gl gu_IN id kk kn_IN kok ks ku mai mn mni my sa_IN sat sd ta_IN tn uz en ca"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl atm berkdb bindist branding bzip2 cairo cli cracklib crypt cups cxx dbus dri fbcondecor fortran gdbm gif gnome gpm hal iconv ipv6 jpeg livecd loop-aes mmx mng modules mudflap ncurses nls nouveau nptl nptlonly opengl openmp pam pcre perl png portaudio pppd python qt3support qt4 readline reflection session socks5 spl sse sse2 ssl sysfs tcpd tiff truetype unicode usb x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="bn brx cy dgo eo eu fa gl gu_IN id kk kn_IN kok ks ku mai mn mni my sa_IN sat sd ta_IN tn uz en ca" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage tdfx trident vesa via vmware cirrus ast chips i128 i740 imstt radeonhd s3virge tseng v4l vermilion" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Fernando (likewhoa) 2010-09-03 07:21:23 UTC
Created attachment 245837 [details]
build log
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-09-03 13:17:08 UTC
Disable the pch USE flag for the package, since that support is broken when running hardened kernel. Don't worry, the resulting binary will be identical, it's just a matter of build process.

And yes we need a better way to disable pch, hardened team is working on that.


*** This bug has been marked as a duplicate of bug 301299 ***
Comment 3 Fernando (likewhoa) 2010-09-03 19:23:25 UTC
(In reply to comment #2)
> Disable the pch USE flag for the package, since that support is broken when
> running hardened kernel. Don't worry, the resulting binary will be identical,
> it's just a matter of build process.
> 
> And yes we need a better way to disable pch, hardened team is working on that.
> 
> 
> *** This bug has been marked as a duplicate of bug 301299 ***
> 

ncftp doesn't have any pch USE flag and gcc is missing it too so i am not sure what package you are referring to. thanks in advanced.