Opened 11 years ago

Closed 11 years ago

#271 closed defect (fixed)

Build break when building GS 8.71

Reported by: herwigb Owned by:
Priority: normal Milestone:
Component: gcc Version:
Severity: normal Keywords:
Cc:

Description

As explained to Dmitriy and Silvan.

        gcc  -DHAVE_LONG_LONG -Zomf -o obj\genarch.exe base\genarch.c
emxomf: Input file `X:\TEMP\ccwOlfDg.o' is not an a.out file
emxomfld: a.out to omf conversion failed for 'X:\TEMP\ccwOlfDg.o'.
NMAKE : fatal error U1077: 'D:\OS2\CMD.EXE' : return code '1'
Stop.

This is 100% reproducible here.

Change History (4)

comment:1 Changed 11 years ago by herwigb

Since today the problem is not 100% reproducible any more, but erratic...

comment:2 Changed 11 years ago by herwigb

After seeing the above error in X:\TEMP there is exactly one file named ccw0lfDg.oolqnYM in (the same name as the one above, but with an arbitrary extender, with a pattern of .o??????).

comment:3 Changed 11 years ago by Silvan Scherrer

i could reproduce it as well, and here is what i see when i compile with gcc -v option

	gcc  -o obj\mkromfs.exe -D__OS2__  -Zomf -Zmap -v -O2 -DPNGAPI= -Iobj\ -Ibase -Izlib base\mkromfs.c obj\compress.o obj\deflate.o  obj\zutil.o obj\adler32.o obj\crc32.o  obj\trees.o obj\gscdefs.o obj\gsmisc.o  obj\gpmisc.o obj\gslibctx.o  obj\gp_getnv.o obj\gp_os2.o obj\gp_os2fs.o obj\gp_stdia.o  obj\gsutil.o
Using built-in specs.
Target: i386-pc-os2-emx
Configured with: ../configure --prefix=/@unixroot/usr --with-sysroot=/@unixroot --enable-shared --enable-languages=c,c++ --with-gnu-as --disable-bootstrap --disable-multilib --disable-libstdcxx-pch --enable-threads --cache-file=M:/BuildBot/cache/gcc-i386.cache
Thread model: os2
gcc version 4.4.6 (GCC) 
COLLECT_GCC_OPTIONS='-pipe' '-o' 'obj\mkromfs.exe' '-D__OS2__' '-Zomf' '-Zmap' '-v' '-O2' '-DPNGAPI=' '-Iobj\' '-Ibase' '-Izlib' '-mtune=i386'
 D:/usr/bin/../libexec/gcc/i386-pc-os2-emx/4.4.6/cc1 -quiet -v -Iobj\ -Ibase -Izlib -iprefix D:/usr/bin/../lib/gcc/i386-pc-os2-emx/4.4.6/ -D__OS2__ -DPNGAPI= base\mkromfs.c -quiet -dumpbase mkromfs.c -mtune=i386 -auxbase mkromfs -O2 -version -o - |
 as -v -Iobj\ -Ibase -Izlib --traditional-format -Zomf -o e:/temp/tmp/cce2WzVg.o
ignoring nonexistent directory "e:/openldap/include"
ignoring nonexistent directory "D:/usr/bin/../lib/gcc/i386-pc-os2-emx/4.4.6/../../../../i386-pc-os2-emx/include"
ignoring nonexistent directory "D:/usr/lib/gcc/../../lib/gcc/i386-pc-os2-emx/4.4.6/../../../../i386-pc-os2-emx/include"
#include "..." search starts here:
#include <...> search starts here:
 obj
 base
 zlib
 D:/USR/lib/gcc/i386-pc-os2-emx/4.4.6/include
 D:/USR/include
 E:/OS2TK45/H
 e:/extras/include
 e:\trees\qt4\release/include
 d:/cups/include
 D:/usr/bin/../lib/gcc/i386-pc-os2-emx/4.4.6/include
 D:/usr/bin/../lib/gcc/i386-pc-os2-emx/4.4.6/include-fixed
 /@unixroot/usr/local/include
 D:/usr/lib/gcc/../../lib/gcc/i386-pc-os2-emx/4.4.6/include
 D:/usr/lib/gcc/../../lib/gcc/i386-pc-os2-emx/4.4.6/include-fixed
 /@unixroot/usr/include
End of search list.
GNU C (GCC) version 4.4.6 (i386-pc-os2-emx)
	compiled by GNU C version 4.4.6, GMP version 5.0.2, MPFR version 3.1.0.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 5fac9182e3142cf8632374ff35c1ea79
GNU assembler version 2.21 (i386-pc-os2-emx) using BFD version (GNU Binutils) 2.21
COMPILER_PATH=D:/usr/bin/../libexec/gcc/i386-pc-os2-emx/4.4.6/;D:/usr/bin/../libexec/gcc/;D:/usr/bin/../lib/gcc/i386-pc-os2-emx/4.4.6/../../../../i386-pc-os2-emx/bin/
LIBRARY_PATH=D:/usr/bin/../lib/gcc/i386-pc-os2-emx/4.4.6/;D:/usr/bin/../lib/gcc/;D:/USR/lib/;D:/USR/lib/gcc/i386-pc-os2-emx/4.4.6/;e:/extras/lib/;e:/trees/qt4/release/lib/;d:/cups/lib/;C:/OS2/DLL/;C:/MPTN/DLL/;D:/usr/bin/../lib/gcc/i386-pc-os2-emx/4.4.6/../../../../i386-pc-os2-emx/lib/;D:/usr/bin/../lib/gcc/i386-pc-os2-emx/4.4.6/../../../;/@unixroot/lib/;D:/USR//lib/
COLLECT_GCC_OPTIONS='-pipe' '-o' 'obj\mkromfs.exe' '-D__OS2__' '-Zomf' '-Zmap' '-v' '-O2' '-DPNGAPI=' '-Iobj\' '-Ibase' '-Izlib' '-mtune=i386'
 emxomfld.exe -Zmap -o obj\mkromfs.exe D:/USR/lib/crt0.obj -LD:/usr/bin/../lib/gcc/i386-pc-os2-emx/4.4.6 -LD:/usr/bin/../lib/gcc -LD:/USR/lib -LD:/USR/lib/gcc/i386-pc-os2-emx/4.4.6 -Le:/extras/lib -Le:/trees/qt4/release/lib -Ld:/cups/lib -LC:/OS2/DLL -LC:/MPTN/DLL -LD:/usr/bin/../lib/gcc/i386-pc-os2-emx/4.4.6/../../../../i386-pc-os2-emx/lib -LD:/usr/bin/../lib/gcc/i386-pc-os2-emx/4.4.6/../../.. -L/@unixroot/lib -LD:/USR//lib e:/temp/tmp/cce2WzVg.o obj\compress.o obj\deflate.o obj\zutil.o obj\adler32.o obj\crc32.o obj\trees.o obj\gscdefs.o obj\gsmisc.o obj\gpmisc.o obj\gslibctx.o obj\gp_getnv.o obj\gp_os2.o obj\gp_os2fs.o obj\gp_stdia.o obj\gsutil.o -lgcc_so_d -lc_alias -lc_dll -los2 -lend
emxomf: Input file `E:\temp\tmp\cce2WzVg.o' is not an a.out file
emxomfld: a.out to omf conversion failed for 'E:\temp\tmp\cce2WzVg.o'.
NMAKE : fatal error U1077: 'C:\OS2\CMD.EXE' : return code '1'
Stop.

in my e:\temp\tmp i have only: [E:\temp\tmp]dir cce2Wz*

The volume label in drive E is DATEN. The Volume Serial Number is 1A6A:C5BD. Directory of E:\temp\tmp

8.07.13 17.05 20'206 124 a--- cce2WzVg.ojjonJG

1 file(s) 20'206 bytes used

45'454'336 K bytes free

comment:4 Changed 11 years ago by Silvan Scherrer

Resolution: fixed
Status: newclosed

it seems this problem is gone with latest rpm gcc 4.4.6 compiler.

Note: See TracTickets for help on using tickets.