Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39419 - m4 compilation fails in /usr/include/bits/sigstack.h
Summary: m4 compilation fails in /usr/include/bits/sigstack.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High blocker
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-25 22:49 UTC by Moshe Kamensky
Modified: 2004-10-03 01:16 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moshe Kamensky 2004-01-25 22:49:02 UTC
I'm trying to install gentoo from stage1. During the bootstrap stage, while emerging m4 (m4-1.4-r1) I get the following compilation error:

gcc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib -I/root/include -O2 -march=athlon-tbird -funroll-loops -fprefetch-loop-arrays -pipe -fomit-frame-pointer m4.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib -I/root/include -O2 -march=athlon-tbird -funroll-loops -fprefetch-loop-arrays -pipe -fomit-frame-pointer builtin.c
In file included from /usr/include/signal.h:341,
                 from /usr/include/sys/signal.h:1,
                 from m4.c:22:
/usr/include/bits/sigstack.h:55: two types specified in one empty declaration
make[1]: *** [m4.o] Error 1

I don't know if it happens on regular emerge or just during boostrap.

Reproducible: Always
Steps to Reproduce:
1. cd /usr/portage
2. scripts/bootstrap.sh
3.

Actual Results:  
Compilation failed

Expected Results:  
compile successfully

# emerge info
Portage 2.0.50_pre20 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.21-0.13mdk
)
=================================================================
System uname: 2.4.21-0.13mdk i686 AMD Duron(tm) Processor
Gentoo Base System version 1.4.3.12
Autoconf: 
Automake: 
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-tbird -funroll-loops -fprefetch-loop-arrays -pipe -fom
it-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/games /etc/gconf /etc/hotplug /etc/init.d /etc/sound /
etc/ssl /etc/svgalib /etc/env.d"
CXXFLAGS="-O2 -march=athlon-tbird -funroll-loops -fprefetch-loop-arrays -pipe -f
omit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ http://gentoo.
inode.at/ http://128.213.5.34/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.o
rg/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/usr/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gnome gpm gtk g
tk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis ope
ngl oss pam pdflib png python qt quicktime readline sdl slang spell ssl svga tcp
d truetype x86 xml2 xmms xv zlib"

Note that I am using the experimental stage1 tarballs from 23.1.04.
Comment 1 Moshe Kamensky 2004-01-25 23:48:54 UTC
Ok, I've just downloaded m4 from the original gnu site, and tried to compile it with the system I already have (Mandrake 9.1, gcc 3.2.2). Got the same results.
Comment 2 SpanKY gentoo-dev 2004-05-03 12:31:11 UTC
still an issue with latest stable gcc ?
Comment 3 Moshe Kamensky 2004-05-04 04:31:00 UTC
I've just tried with gcc 3.3.3, and there is no problem.
Comment 4 SpanKY gentoo-dev 2004-10-03 01:16:10 UTC
latest stable stuff works