Emerging module-init-tools fails. The use flag are -debug -no-old-linux. Reproducible: Always Steps to Reproduce: emerge -v =module-init-tools-3.0-r2 wait for compile to fail. Actual Results: ... make[1]: Entering directory `/var/tmp/portage/module-init-tools-3.0-r2/work/modutils-2.4.27/genksyms' gcc -O3 -march=pentium4 -mfpmath=sse -fomit-frame-pointer -funroll-loops -pipe -o makecrc32 makecrc32.c expect 6 shift/reduce conflicts and 5 reduce/reduce conflicts. bison -o parse.c -dtv parse.y parse.y: conflicts: 6 shift/reduce, 5 reduce/reduce gcc -O3 -march=pentium4 -mfpmath=sse -fomit-frame-pointer -funroll-loops -pipe -Wno-uninitialized -I. -I. -I./../include -D_GNU_SOURCE -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DCONFIG_ROOT_CHECK_OFF=0 -c -o parse.o parse.c flex -olex.c -d lex.l parse.h make[1]: *** [lex.c] Segmentation fault make[1]: *** Deleting file `lex.c' Expected Results: Compile should succeed. I'm running a Dual Intel(R) Xeon(TM) CPU 2.40GHz, running kernel 2.6.8-gentoo-r3
Why are you using "-no-old-linux" on a 2.6 series Kernel?
Sorry, I misunderstood the use flag "no-old-linux". ;) Can you post emerge info please?
Portage 2.0.51-r2 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.8-gentoo-r3 i686) ================================================================= System uname: 2.6.8-gentoo-r3 i686 Intel(R) Xeon(TM) CPU 2.40GHz 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.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="" ARCH="x86" AUTOCLEAN="yes" BASH_ENV="/etc/spork/is/not/valid/profile.env" CC="gcc" CFLAGS="-O3 -march=pentium4 -mfpmath=sse -fomit-frame-pointer -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" CLASSPATH="." CLEAN_DELAY="5" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CVS_RSH="ssh" CXX="g++" CXXFLAGS="-O3 -march=pentium4 -mfpmath=sse -fomit-frame-pointer -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" EDITOR="/bin/nano" FEATURES="autoaddcvs ccache distlocks sandbox sfperms" FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://chod.cwru.edu/gentoo http://ftp-mirror.internap.com/pub/gentoo/" GLIBC_SSP_CHECKED="1" GRP_STAGE23_USE="ipv6 pam tcpd readline nls ssl gpm perl python berkdb acl ncurses" HOME="/root" HOSTNAME="asyserver" INFODIR="/usr/share/info:/usr/athena/info" INFOPATH="/usr/share/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info" INPUTRC="/etc/inputrc" JAVAC="/opt/blackdown-jdk-1.4.1/bin/javac" JAVA_HOME="/opt/blackdown-jdk-1.4.1" JDK_HOME="/opt/blackdown-jdk-1.4.1" LESS="-R" LESSOPEN="|lesspipe.sh %s" LOGNAME="root" MAIL="/root/" MAKEOPTS="-j5" MANDIR="/usr/athena/man" MANPATH="/usr/share/man:/usr/local/share/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man::/opt/blackdown-jdk-1.4.1/man" NOCOLOR="false" PAGER="/usr/bin/less" PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/athena/sbin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin" PKGDIR="/usr/portage/packages" PORTAGE_ARCHLIST="alpha amd64 arm hppa ia64 mips ppc ppc64 ppc-macos s390 sh sparc x86 x86-obsd x86-fbsd" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_CALLER="emerge" PORTAGE_GID="250" PORTAGE_MASTER_PID="778" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PRELINK_PATH="" PRELINK_PATH_MASK="" PS1="\[\033[01;31m\]\h \[\033[01;34m\]\W \$ \[\033[00m\]" PWD="/root" PYTHONDOCS="/usr/share/doc/python-docs-2.3.4/html" RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}" RPMDIR="/usr/portage/rpm" RSYNC_RETRIES="3" RSYNC_TIMEOUT="180" SHELL="/bin/bash" SHLVL="1" SYNC="rsync://rsync.gentoo.org/gentoo-portage" TERM="xterm" USE="apache2 apm berkdb bitmap-fonts crypt dedicated doc emacs f77 gdbm gif imap java jikes jpeg ldap libg++ libwww mbox memlimit mmx mysql ncurses odbc pam pdflib perl png postgres python readline ruby slang spell sse ssl tcpd truetype x86 xml2 zlib" USER="root" USERLAND="GNU" USE_EXPAND="VIDEO_CARDS INPUT_DEVICES LINGUAS" XARGS="xargs -r" _="/usr/bin/emerge"
try it with CFLAGS="-pipe"
Same thing. I've also tried CFLAGS='-mcpu=i386', no difference. One thing I haven't tried is upgrading tot he new linux headers, but that means a long recompile of libc and gcc. Do you think it's related to that?
new header files dont require a glibc/gcc rebuild ... a glibc rebuild is recommended, that's all either way, i doubt that'd fix the problem here, whatever it may be
So, I did: emerge -C flex emerge -v flex And tried it again. Now it compiled fine. (it didn't change versions) This was a stage1 installed system, how could my flex binary be broken?
O.K. following works with version 3.1 (NOT with stable = 3.0) Removing modprobe.conf and creating modprobe.d and copying any configs for modules.d into it. Mading some changes to configs, because some options are gone, i.e. probeall. But, to get this work for the future, in my opinion, all ebuilds that install config files into module.d needing adopted configuration for 2.6 and should install this configuration into modprobe.d. Here are the packages which installing configs into modules.d: - app-cdr/cdrw-base - app-laptop/thinkpad - app-laptop/toshiba-utils - games-arcade/ddrmat - media-libs/svgalib - media-sound/alsa-utils - media-sound/emu10k1 - media-sound/nforce-audio - media-tv/ivtv - media-tv/linuxtv-dvb - media-video/dxr2-drive - media-video/em8300-modules - media-video/nvidia-kernel - media-video/usb-pwcx - media-video/usb-pwc-re - net-dialup/fcdsl - net-dialup/ltmodem - net-dialup/ppp - net-dialup/slmodem - net-dialup/mwavem - net-fs/davfs2 - net-misc/e1000 - net-misc/ifenslave - net-misc/zaptel - net-wireless/ndiswrapper - sys-apps/baselayout - sys-apps/pcfclock - sys-apps/s390-oco - sys-apps/x86info - sys-fs/devfsd - x11-base/x11-drm maybe some more. When making adaptation in the ebuild, in my opinion, it is useful to use "no-old-linux" to not install 2.4 configuration file and only 2.6 adpoted one. What do you think?
Ups, wrong thread... Please, ignore my post!
what stage tarball did you start with Neal ?
stage1.
what release / version silly billy :P 2004.2 ? 2004.3 ? x86 ? pentium4 ?
Well the problem was evidently not in this module, so if this occurs again with another flex module or in another place, I'll re-open.