Attached is the emerge log. I'm running 32 bit on an Intel Core Duo
(Dell D530) USE="-X -debug -gpm -svga". The last step of the gcc
upgrade is "emerge -eav world". dosemu 1.4.0 built under gcc 4.1.2 but
not under 4.3.4. I've added my report to
http://bugs.gentoo.org/show_bug.cgi?id=294843 Any ideas from the log?
--
Walter Dnes <[email protected]>
>>> Unpacking source...
>>> Unpacking dosemu-1.4.0.tgz to
>>> /var/tmp/portage/app-emulation/dosemu-1.4.0/work
[32;01m*[0m Applying dosemu-1.3.4-shm.diff ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Running eautoreconf in
'/var/tmp/portage/app-emulation/dosemu-1.4.0/work/dosemu-1.4.0' ...
[32;01m*[0m Running aclocal ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Running autoconf ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Running autoheader ...
[A[72C [34;01m[ [32;01mok[34;01m ][0m
>>> Source unpacked in /var/tmp/portage/app-emulation/dosemu-1.4.0/work
>>> Compiling source in
>>> /var/tmp/portage/app-emulation/dosemu-1.4.0/work/dosemu-1.4.0 ...
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib --without-x --disable-svgalib
--disable-debug --without-gpm
--with-fdtarball=/var/tmp/portage/app-emulation/dosemu-1.4.0/distdir/dosemu-freedos-1.0-bin.tgz
--sysconfdir=/etc/dosemu/ --with-docdir=/usr/share/doc/dosemu-1.4.0
/var/tmp/portage/app-emulation/dosemu-1.4.0/work/dosemu-1.4.0/mkpluginhooks
enable kbd_unicode yes extra_charsets yes term yes X yes sdl yes midimisc yes
translate yes commands yes demo no
exec /var/tmp/portage/app-emulation/dosemu-1.4.0/work/dosemu-1.4.0/configure
--enable-cpuemu --prefix=/usr/local --bindir=${prefix}/bin
--sysconfdir=/etc/dosemu --libdir=${prefix}/lib --datadir=${prefix}/share
--mandir=${prefix}/man --with-docdir=${datadir}/doc/dosemu
--with-syshdimagedir=/var/lib/dosemu --with-x11fontdir=${datadir}/dosemu/Xfonts
--with-fdtarball=dosemu-freedos-bin.tgz --prefix=/usr --build=i686-pc-linux-gnu
--host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info
--datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --without-x
--disable-svgalib --disable-debug --without-gpm
--with-fdtarball=/var/tmp/portage/app-emulation/dosemu-1.4.0/distdir/dosemu-freedos-1.0-bin.tgz
--sysconfdir=/etc/dosemu/ --with-docdir=/usr/share/doc/dosemu-1.4.0
build_alias=i686-pc-linux-gnu host_alias=i686-pc-linux-gnu CFLAGS=-O2
-march=prescott -mmmx -msse -msse2 -msse3 -mfpmath=sse -fomit-frame-pointer
-pipe -fno-pic LDFLAGS=-Wl,-O1
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether i686-pc-linux-gnu-gcc needs -traditional... no
checking for gawk... gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for bison... bison -y
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether sys/types.h defines makedev... yes
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for struct stat.st_rdev... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking if C compiler has "__FILE__" macro... yes
checking if C compiler has "__LINE__" macro... yes
checking if C compiler has "__FUNCTION__" macro... yes
checking for gettimeofday... yes
checking for sigaltstack... yes
checking for shm_open in -lrt... yes
checking for shm_open... yes
configure: Linking for shared libraries...
configure: Using dynamically loaded plugins...
configure: Compiling without GPM support...
checking for snd_rawmidi_open in -lasound... yes
configure: Compiling with alsa support...
checking for sf_open in -lsndfile... no
configure: Compiling without sndfile support...
configure: Compiling without pthreads support...
checking for S-Lang...
checking slang.h usability... yes
checking slang.h presence... yes
checking for slang.h... yes
checking for SLtt_get_terminfo in -lslang... yes
configure: Compiling with S-Lang support...
checking for X... disabled
configure: Compiling without X support...
configure: EXPERIMENTAL stuff disabled...
configure: Including plugins: plugin/X plugin/sdl plugin/alsa plugin/term
plugin/translate plugin/translate/charsets plugin/kbd_unicode plugin/midimisc
plugin/commands plugin/extra_charsets...
configure: Compiling without debug info...
configure: Compiling with ASPI support...
configure: Compiling with SB Emulation...
configure: Compiling with optional 386 emulation code...
configure: Linux Specific build options...
configure: Compiling with network support...
configure: Compiling with default target CPU...
checking for the version of gcc...... 4003
checking need for pedantic asm constraints...... yes
checking for egcs...... no
checking for gcc-2.95 or newer ...... yes, using -fno-strict-aliasing to work
around bugs
checking for glibc...... yes, version code 2009
configure: creating ./config.status
config.status: creating Makefile.conf
config.status: WARNING: 'Makefile.conf.in' seems to ignore the --datarootdir
setting
config.status: creating dosemu.spec
config.status: creating src/include/config.h
config.status: executing Makefile commands
=== configuring in src/plugin/sdl
(/var/tmp/portage/app-emulation/dosemu-1.4.0/work/dosemu-1.4.0/src/plugin/sdl)
configure: running /bin/sh ./configure --disable-option-checking
'--prefix=/usr' '--enable-cpuemu' '--bindir=${prefix}/bin'
'--sysconfdir=/etc/dosemu' '--libdir=${prefix}/lib' '--datadir=${prefix}/share'
'--mandir=${prefix}/man' '--with-docdir=${datadir}/doc/dosemu'
'--with-syshdimagedir=/var/lib/dosemu'
'--with-x11fontdir=${datadir}/dosemu/Xfonts'
'--with-fdtarball=dosemu-freedos-bin.tgz' '--build=i686-pc-linux-gnu'
'--host=i686-pc-linux-gnu' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc'
'--localstatedir=/var/lib' '--without-x' '--disable-svgalib' '--disable-debug'
'--without-gpm'
'--with-fdtarball=/var/tmp/portage/app-emulation/dosemu-1.4.0/distdir/dosemu-freedos-1.0-bin.tgz'
'--sysconfdir=/etc/dosemu/' '--with-docdir=/usr/share/doc/dosemu-1.4.0'
'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-O2
-march=prescott -mmmx -msse -msse2 -msse3 -mfpmath=sse -fomit-frame-pointer
-pipe -fno-pic' 'LDFLAGS=-Wl,-O1' --cache-file=/dev/null --srcdir=.
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
configure: creating ./config.status
config.status: creating Makefile.conf
config.status: creating include/sdl_config.h
=== configuring in src/plugin/kbd_unicode
(/var/tmp/portage/app-emulation/dosemu-1.4.0/work/dosemu-1.4.0/src/plugin/kbd_unicode)
configure: running /bin/sh ./configure --disable-option-checking
'--prefix=/usr' '--enable-cpuemu' '--bindir=${prefix}/bin'
'--sysconfdir=/etc/dosemu' '--libdir=${prefix}/lib' '--datadir=${prefix}/share'
'--mandir=${prefix}/man' '--with-docdir=${datadir}/doc/dosemu'
'--with-syshdimagedir=/var/lib/dosemu'
'--with-x11fontdir=${datadir}/dosemu/Xfonts'
'--with-fdtarball=dosemu-freedos-bin.tgz' '--build=i686-pc-linux-gnu'
'--host=i686-pc-linux-gnu' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc'
'--localstatedir=/var/lib' '--without-x' '--disable-svgalib' '--disable-debug'
'--without-gpm'
'--with-fdtarball=/var/tmp/portage/app-emulation/dosemu-1.4.0/distdir/dosemu-freedos-1.0-bin.tgz'
'--sysconfdir=/etc/dosemu/' '--with-docdir=/usr/share/doc/dosemu-1.4.0'
'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-O2
-march=prescott -mmmx -msse -msse2 -msse3 -mfpmath=sse -fomit-frame-pointer
-pipe -fno-pic' 'LDFLAGS=-Wl,-O1' --cache-file=/dev/null --srcdir=.
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking X11/XKBlib.h usability... yes
checking X11/XKBlib.h presence... yes
checking for X11/XKBlib.h... yes
configure: creating ./config.status
config.status: creating include/kbd_unicode_config.h
make -j1
make[1]: Entering directory
`/var/tmp/portage/app-emulation/dosemu-1.4.0/work/dosemu-1.4.0/src'
echo '#define ALTERNATE_ETC "/etc/dosemu"' > include/confpath.h
echo '#define LIB_DEFAULT "/usr/lib"' >> include/confpath.h
echo '#define DOSEMULIB_DEFAULT "/usr/share/dosemu"' >> include/confpath.h
echo '#define DOSEMUHDIMAGE_DEFAULT "/var/lib/dosemu"' >> include/confpath.h
make[2]: Entering directory
`/var/tmp/portage/app-emulation/dosemu-1.4.0/work/dosemu-1.4.0/src/tools'
i686-pc-linux-gnu-gcc -c -MP -MMD -I../../src/include
-I../../src/plugin/include -Wall -Wstrict-prototypes -Wmissing-declarations
-Wnested-externs -O2 -march=prescott -mmmx -msse -msse2 -msse3 -mfpmath=sse
-fomit-frame-pointer -pipe -fno-pic -fno-strict-aliasing -Wno-pointer-sign
-pipe -o tools86.o tools86.c
i686-pc-linux-gnu-gcc tools86.o -o tools86
make[2]: Leaving directory
`/var/tmp/portage/app-emulation/dosemu-1.4.0/work/dosemu-1.4.0/src/tools'
make[2]: Entering directory
`/var/tmp/portage/app-emulation/dosemu-1.4.0/work/dosemu-1.4.0/src/commands'
i686-pc-linux-gnu-gcc -MP -MMD -I../../src/include -I../../src/plugin/include
-traditional -Wa,-a -c -o isemu.o isemu.S > isemu.s.out
i686-pc-linux-gnu-gcc -Wl,-Ttext,100,-e,_start16,--oformat,binary -nostdlib -s
-o ../../1.4.0.0/commands/isemu.com isemu.o
chmod -x ../../1.4.0.0/commands/isemu.com
i686-pc-linux-gnu-gcc -MP -MMD -I../../src/include -I../../src/plugin/include
-traditional -Wa,-a -c -o mgarrot.o mgarrot.S > mgarrot.s.out
i686-pc-linux-gnu-gcc -Wl,-Ttext,100,-e,_start16,--oformat,binary -nostdlib -s
-o ../../1.4.0.0/commands/mgarrot.com mgarrot.o
chmod -x ../../1.4.0.0/commands/mgarrot.com
i686-pc-linux-gnu-gcc -MP -MMD -I../../src/include -I../../src/plugin/include
-traditional -Wa,-a -c -o fossil.o fossil.S > fossil.s.out
i686-pc-linux-gnu-gcc -Wl,-Ttext,100,-e,_start16,--oformat,binary -nostdlib -s
-o ../../1.4.0.0/commands/fossil.com fossil.o
chmod -x ../../1.4.0.0/commands/fossil.com
i686-pc-linux-gnu-gcc -MP -MMD -I../../src/include -I../../src/plugin/include
-traditional -Wa,-a -c -o emufs.o emufs.S > emufs.s.out
i686-pc-linux-gnu-gcc -Wl,-Ttext,0,-e,_start16,--oformat,binary -nostdlib -s -o
../../1.4.0.0/commands/emufs.sys emufs.o
chmod -x ../../1.4.0.0/commands/emufs.sys
i686-pc-linux-gnu-gcc -MP -MMD -I../../src/include -I../../src/plugin/include
-traditional -Wa,-a -c -o ems.o ems.S > ems.s.out
i686-pc-linux-gnu-gcc -Wl,-Ttext,0,-e,_start16,--oformat,binary -nostdlib -s -o
../../1.4.0.0/commands/ems.sys ems.o
chmod -x ../../1.4.0.0/commands/ems.sys
i686-pc-linux-gnu-gcc -MP -MMD -I../../src/include -I../../src/plugin/include
-traditional -Wa,-a -c -o cdrom.o cdrom.S > cdrom.s.out
i686-pc-linux-gnu-gcc -Wl,-Ttext,0,-e,_start16,--oformat,binary -nostdlib -s -o
../../1.4.0.0/commands/cdrom.sys cdrom.o
chmod -x ../../1.4.0.0/commands/cdrom.sys
i686-pc-linux-gnu-gcc -MP -MMD -I../../src/include -I../../src/plugin/include
-traditional -Wa,-a -c -o dumpconf.o dumpconf.S > dumpconf.s.out
i686-pc-linux-gnu-gcc -Wl,-Ttext,0,-e,_start16,--oformat,binary -nostdlib -s -o
../../1.4.0.0/commands/dumpconf.sys dumpconf.o
chmod -x ../../1.4.0.0/commands/dumpconf.sys
i686-pc-linux-gnu-gcc -MP -MMD -I../../src/include -I../../src/plugin/include
-traditional -Wa,-a -c -o aspi.o aspi.S > aspi.s.out
i686-pc-linux-gnu-gcc -Wl,-Ttext,0,-e,_start16,--oformat,binary -nostdlib -s -o
../../1.4.0.0/commands/aspi.sys aspi.o
chmod -x ../../1.4.0.0/commands/aspi.sys
make[2]: Leaving directory
`/var/tmp/portage/app-emulation/dosemu-1.4.0/work/dosemu-1.4.0/src/commands'
make[2]: Entering directory
`/var/tmp/portage/app-emulation/dosemu-1.4.0/work/dosemu-1.4.0/src/tools/periph'
i686-pc-linux-gnu-gcc -c -MP -MMD -I../../../src/include
-I../../../src/plugin/include -I. -Wall -Wstrict-prototypes
-Wmissing-declarations -Wnested-externs -O2 -march=prescott -mmmx -msse -msse2
-msse3 -mfpmath=sse -fomit-frame-pointer -pipe -fno-pic -fno-strict-aliasing
-Wno-pointer-sign -pipe -o hdinfo.o hdinfo.c
i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,-warn-common hdinfo.o -o hdinfo
i686-pc-linux-gnu-gcc -c -MP -MMD -I../../../src/include
-I../../../src/plugin/include -I. -Wall -Wstrict-prototypes
-Wmissing-declarations -Wnested-externs -O2 -march=prescott -mmmx -msse -msse2
-msse3 -mfpmath=sse -fomit-frame-pointer -pipe -fno-pic -fno-strict-aliasing
-Wno-pointer-sign -pipe -o mkhdimage.o mkhdimage.c
i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,-warn-common mkhdimage.o -o mkhdimage
i686-pc-linux-gnu-gcc -c -MP -MMD -I../../../src/include
-I../../../src/plugin/include -I. -Wall -Wstrict-prototypes
-Wmissing-declarations -Wnested-externs -O2 -march=prescott -mmmx -msse -msse2
-msse3 -mfpmath=sse -fomit-frame-pointer -pipe -fno-pic -fno-strict-aliasing
-Wno-pointer-sign -pipe -o putrom.o putrom.c
i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,-warn-common putrom.o -o putrom
i686-pc-linux-gnu-gcc -c -MP -MMD -I../../../src/include
-I../../../src/plugin/include -I. -Wall -Wstrict-prototypes
-Wmissing-declarations -Wnested-externs -O2 -march=prescott -mmmx -msse -msse2
-msse3 -mfpmath=sse -fomit-frame-pointer -pipe -fno-pic -fno-strict-aliasing
-Wno-pointer-sign -pipe -o dexeconfig.o dexeconfig.c
dexeconfig.c: In function 'viewconf':
dexeconfig.c:104: warning: ignoring return value of 'read', declared with
attribute warn_unused_result
dexeconfig.c:113: warning: ignoring return value of 'fwrite', declared with
attribute warn_unused_result
dexeconfig.c: In function 'putconf':
dexeconfig.c:177: warning: ignoring return value of 'read', declared with
attribute warn_unused_result
dexeconfig.c:188: warning: ignoring return value of 'write', declared with
attribute warn_unused_result
dexeconfig.c:190: warning: ignoring return value of 'write', declared with
attribute warn_unused_result
dexeconfig.c:210: warning: ignoring return value of 'write', declared with
attribute warn_unused_result
dexeconfig.c:211: warning: ignoring return value of 'write', declared with
attribute warn_unused_result
dexeconfig.c: In function 'getconf':
dexeconfig.c:226: warning: ignoring return value of 'read', declared with
attribute warn_unused_result
dexeconfig.c:233: warning: ignoring return value of 'read', declared with
attribute warn_unused_result
dexeconfig.c:246: warning: ignoring return value of 'write', declared with
attribute warn_unused_result
In function 'open',
inlined from 'getconf' at dexeconfig.c:241,
inlined from 'main' at dexeconfig.c:293:
/usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared
with attribute error: open with O_CREAT in second argument needs 3 arguments
make[2]: *** [dexeconfig.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/app-emulation/dosemu-1.4.0/work/dosemu-1.4.0/src/tools/periph'
make[1]: *** [tools/periph] Error 2
make[1]: Leaving directory
`/var/tmp/portage/app-emulation/dosemu-1.4.0/work/dosemu-1.4.0/src'
make: *** [default] Error 2
[31;01m*[0m
[31;01m*[0m ERROR: app-emulation/dosemu-1.4.0 failed.
[31;01m*[0m Call stack:
[31;01m*[0m ebuild.sh, line 49: Called src_compile
[31;01m*[0m environment, line 3036: Called die
[31;01m*[0m The specific snippet of code:
[31;01m*[0m emake || die
[31;01m*[0m The die message:
[31;01m*[0m (no error message)
[31;01m*[0m
[31;01m*[0m If you need support, post the topmost build error, and the call
stack if relevant.
[31;01m*[0m A complete build log is located at
'/var/log/portage/app-emulation:dosemu-1.4.0:20091217-010354.log'.
[31;01m*[0m The ebuild environment file is located at
'/var/tmp/portage/app-emulation/dosemu-1.4.0/temp/environment'.
[31;01m*[0m