>>> emerge (1 of 1) net-ftp/vsftpd-1.2.2 to / >>> md5 src_uri ;-) vsftpd-1.2.2.tar.gz >>> Unpacking source... >>> Unpacking vsftpd-1.2.2.tar.gz to /var/tmp/portage/vsftpd-1.2.2/work * Applying vsftpd-1.2.1-gentoo.diff.bz2 ... [ ok ] >>> Source unpacked. gcc -c main.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c utility.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c prelogin.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c ftpcmdio.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c postlogin.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c privsock.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c tunables.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c ftpdataio.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c secbuf.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c ls.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c postprivparent.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c logging.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c str.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c netstr.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c sysstr.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c strlist.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c banner.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c filestr.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c parseconf.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c secutil.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c ascii.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c oneprocess.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c twoprocess.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c privops.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c standalone.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c hash.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c tcpwrap.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c ipv6parse.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c access.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c sysutil.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc gcc -c sysdeputil.c -O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe -DUSE_PAM -idirafter dummyinc sysdeputil.c: In function `vsf_sysdep_adopt_capabilities': sysdeputil.c:160: error: can't find a register in class `BREG' while reloading `asm' make: *** [sysdeputil.o] Error 1 !!! ERROR: net-ftp/vsftpd-1.2.2 failed. !!! Function src_compile, Line 31, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. 2. 3. Expected Results: compiled cleanly. thunder root # emerge info Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-hardened-r3 i686) ================================================================= System uname: 2.6.10-hardened-r3 i686 Intel(R) Xeon(TM) CPU 3.00GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 11 2005, 01:39:49)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -ffast-math -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://194.117.143.69 ftp://194.117.143.69/mirrors/gentoo http://194.117.143.71 ftp://194.117.143.72/mirrors/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X509 acl apache2 berkdb chroot crypt curl erandom fam flash gd gdbm gnutls hardened hardenedphp imap innodb ithreads java jpeg lm_sensors maildir mcal mysql ncurses nls nptl pam pcre pdflib perl pic pie png python qmail readline rrdtool sasl sftplogging snmp spamassassin spell ssl threads tiff truetype unicode vhosts xml2 zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
I see you are running with the hardened use flag, so I'm going to assume you are using a hardened gcc. That seems to be the problem. I can get it to compile with the normal gcc config, but not with hardened, even after stripping all CFLAGS.
that's correct, i'm running hardened. Seems ironic that "very secure ftpd" doesn't compile on what would hopefully be a very secure system. Googling and forum searching led me to similar scenarios from other packages, particularly "callgrind" *** just tried it again, and this time it worked. I have emerge sync'd since, so it could be simply that it was fixed, or ... the phase of the moon, or ... :( It *was* reproducible twice in a row earlier on, and now it's not, so i've changed this bug to "NEEDINFO", although someone who's more suited to these things could always switch it to whatever it should be in these circumstances
Same there, bug exists, it's PIC/non-pic code problems ;(
*** Bug 90437 has been marked as a duplicate of this bug. ***
Anything we can do about this? Reopening b/c of another identical bug reported.
vsftpd-2.0.2 has the same problem :( PS: sorry for the duplicate bug
it's a bug in the source code, not the toolchain linux-headers-2.6.11 may solve this, but i havent looked at the source code so i cant say for sure
linux-headers-2.6.11 fixed the problem for me
I'm seeing this exact error, when trying to build media-video/ffmpeg-0.4.9_p20050226-r5. I don't have a hardened system. i686-pc-linux-gnu-gcc -Wall -Wno-switch -g -pipe -fomit-frame-pointer -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o i386/vp3dsp_sse2.o i386/vp3dsp_sse2.c i386/dsputil_mmx.c: In function `dsputil_init_mmx': i386/dsputil_mmx.c:3076: warning: assignment from incompatible pointer type i386/dsputil_mmx.c:3077: warning: assignment from incompatible pointer type i386/dsputil_mmx.c: In function `transpose4x4': i386/dsputil_mmx.c:615: error: can't find a register in class `GENERAL_REGS' while reloading `asm' i386/dsputil_mmx.c: At top level: i386/dsputil_mmx_rnd.h:59: warning: `put_no_rnd_pixels8_l2_mmx' defined but not used i386/dsputil_mmx_rnd.h:155: warning: `put_no_rnd_pixels16_l2_mmx' defined but not used i386/dsputil_mmx_rnd.h:300: warning: `avg_no_rnd_pixels4_mmx' defined but not used i386/dsputil_mmx_rnd.h:59: warning: `put_pixels8_l2_mmx' defined but not used i386/dsputil_mmx_rnd.h:155: warning: `put_pixels16_l2_mmx' defined but not used make[1]: *** [i386/dsputil_mmx.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/ffmpeg-0.4.9_p20050226-r5/work/ffmpeg-0.4.9-p20050226-static/libavcodec' make: *** [lib] Error 2 Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.11-gentoo-r6 i686) ================================================================= System uname: 2.6.11-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 11 2005, 13:17:01)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-g -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d" CXXFLAGS="-g -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo" LANG="C" 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="x86 X X509 Xaw3d acpi acpi4linux alsa apm berkdb bitmap-fonts cdr crypt cups curl dga dv eds emacs emboss encode esd evo faad fam fftw foomaticdb fortran gd gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml hal howl idea imagemagick imap imlib ipv6 jabber java jpeg ldap libg++ libwww mad mikmod mmx mozilla mp3 mpeg ncurses nls nptl nvidia ogg oggvorbis opengl oss pam pcmcia pda pdflib perl png ppds python quicktime readline sdl spell sse ssl stencil-buffer svga tcpd tiff transcode truetype truetype-fonts type1 type1-fonts usb vorbis xml2 xmms xv zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, LINGUAS
(In reply to comment #9) > I'm seeing this exact error, when trying to build > media-video/ffmpeg-0.4.9_p20050226-r5. I don't have a hardened system. This is completely unrelated problem (Bug 86843) - keep on topic, please!
sam problem on my machine runnning hardened with all versions of vsftpd on 2.6.11-hardened fixed by emerging headers 2.6.11
sys-kernel/linux-headers-2.6.11-r2 is now stable
*** Bug 101334 has been marked as a duplicate of this bug. ***