This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

GCC 'configure' crashes building Solaris cross compiler


When building a Solaris cross compiler (i686-pc-cygwin cross
i686-pc-solaris2), the 'configure' script crashes when configuring
i686-pc-solaris2/libiberty.  A message box titled "16 bit MS-DOS
Subsystem" pops up and displays the following:

    /build/build-gcc

    The NTVDM CPU has encountered an illegal instruction.
    CS:0548 IP:463f OP:ff ff 81 5a 46

    [Terminate]     [Ignore]

I'm using binutils-20001029-2 and gcc-2.95.2-5 source tar balls.  I
was able to build and install binutils into /usr/local tree with no
problems.  I've copied *.a, *.so, and *.o from /usr/lib on a working
Solaris 7 system, and copied the /usr/include tree, into /build/x86sol
as 'include' and 'lib' subdirectories.  The build machine has an
Athlon CPU.

Running Dr. Watson did not catch the fault.

'make' output:
$ make

make[1]: Entering directory `/build/build-gcc/libiberty'

make[2]: Entering directory `/build/build-gcc/libiberty/testsuite'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/build/build-gcc/libiberty/testsuite'

make[1]: Leaving directory `/build/build-gcc/libiberty'

make[1]: Entering directory `/build/build-gcc/texinfo'

make all-recursive

make[2]: Entering directory `/build/build-gcc/texinfo'

Making all in intl

make[3]: Entering directory `/build/build-gcc/texinfo/intl'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/build/build-gcc/texinfo/intl'

Making all in lib

make[3]: Entering directory `/build/build-gcc/texinfo/lib'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/build/build-gcc/texinfo/lib'

Making all in makeinfo

make[3]: Entering directory `/build/build-gcc/texinfo/makeinfo'

make[3]: Nothing to be done for `all'.

make[3]: Leaving directory `/build/build-gcc/texinfo/makeinfo'

make[2]: Leaving directory `/build/build-gcc/texinfo'

make[1]: Leaving directory `/build/build-gcc/texinfo'

make[1]: Entering directory `/build/build-gcc/etc'

make[1]: Nothing to be done for `all'.

make[1]: Leaving directory `/build/build-gcc/etc'

make[1]: Entering directory `/build/build-gcc/gcc'

(cd intl && make all)

make[2]: Entering directory `/build/build-gcc/gcc/intl'

make[2]: Nothing to be done for `all'.

make[2]: Leaving directory `/build/build-gcc/gcc/intl'

/build/build-gcc/gcc/xgcc -B/build/build-gcc/gcc/ -B/usr/local/i686-pc-solaris2/bin/ -I/usr/local/i686-pc-solaris2/include -DCROSS_COMPILE -DIN_GCC     -g -O2 -I./include     -c ../../gcc-2.95.2-5/gcc/libgcc1-test.c

../../gcc-2.95.2-5/gcc/libgcc1-test.c:101: warning: conflicting types for built-in function `memcpy'

Testing libgcc1.  Ignore linker warning messages.

/build/build-gcc/gcc/xgcc -B/build/build-gcc/gcc/ -B/usr/local/i686-pc-solaris2/bin/ -I/usr/local/i686-pc-solaris2/include -DCROSS_COMPILE -DIN_GCC     -g -O2 -I./include  libgcc1-test.o -o libgcc1-test \

  -nostartfiles -nostdlib `/build/build-gcc/gcc/xgcc -B/build/build-gcc/gcc/ -B/usr/local/i686-pc-solaris2/bin/ -I/usr/local/i686-pc-solaris2/include --print-libgcc-file-name`

make[1]: Leaving directory `/build/build-gcc/gcc'

Configuring in i686-pc-solaris2/libiberty

loading cache ./config.cache

checking host system type... i686-pc-solaris2

checking build system type... i686-pc-cygwin

checking for i686-pc-solaris2-ar... i686-pc-solaris2-ar

checking for i686-pc-solaris2-ranlib... i686-pc-solaris2-ranlib

checking for gcc... /build/build-gcc/gcc/xgcc -B/build/build-gcc/gcc/ -B/usr/local/i686-pc-solaris2/bin/

checking whether we are using GNU C... yes

checking whether /build/build-gcc/gcc/xgcc -B/build/build-gcc/gcc/ -B/usr/local/i686-pc-solaris2/bin/ accepts -g... yes

checking for POSIXized ISC... no

checking for a BSD compatible install... /usr/bin/install -c

xhost-mkfrag is unchanged

checking how to run the C preprocessor... /build/build-gcc/gcc/xgcc -B/build/build-gcc/gcc/ -B/usr/local/i686-pc-solaris2/bin/ -E

checking for sys/file.h... yes

checking for sys/param.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for unistd.h... yes

checking for strings.h... yes

checking for sys/time.h... yes

checking for sys/resource.h... yes

checking for sys/stat.h... yes

checking for sys/wait.h that is POSIX.1 compatible... yes

checking whether the C compiler (/build/build-gcc/gcc/xgcc -B/build/build-gcc/gcc/ -B/usr/local/i686-pc-solaris2/bin/ -g -O2 ) works... yes

checking whether the C compiler (/build/build-gcc/gcc/xgcc -B/build/build-gcc/gcc/ -B/usr/local/i686-pc-solaris2/bin/ -g -O2 ) is a cross-compiler...

config.status, gcc:
#!/bin/sh

# This file was generated automatically by configure.  Do not edit.

# This directory was configured as follows:

../gcc-2.95.2-5/configure --with-gcc-version-trigger=/build/gcc-2.95.2-5/gcc/version.c --host=i686-pc-cygwin --target=i686-pc-solaris2 --with-headers=/build/x86sol/include --with-libs=/build/x86sol/lib --norecursion 

# 

output of 'cygcheck -s -r -v':


Cygnus Win95/NT Configuration Diagnostics

Current System Time: Sat Dec  2 07:07:10 2000



WinNT Ver 4.0 build 1381 Service Pack 6



Path:	/usr/local/bin

	/usr/bin

	/bin

	/cygdrive/c/WINNT/system32

	/cygdrive/c/WINNT

	/cygdrive/c/PROGRA~1/Tcl/bin



SysDir: C:\WINNT\System32

WinDir: C:\WINNT



PWD = `/build/build-gcc'

USER = `alcocer'

MAKE_MODE = `unix'

HOME = `/home/alcocer'



NUMBER_OF_PROCESSORS = `1'

PROMPT = `$P$G'

LOGONSERVER = `\\OCELOTE'

OS2LIBPATH = `C:\WINNT\system32\os2\dll;'

COMSPEC = `C:\WINNT\system32\cmd.exe'

!C: = `C:\WINNT\Profiles\alcocer\Desktop'

SYSTEMDRIVE = `C:'

HOSTNAME = `OCELOTE'

PROCESSOR_REVISION = `0402'

!D: = `D:\cygwin\bin'

PATHEXT = `.COM;.EXE;.BAT;.CMD'

COMPUTERNAME = `OCELOTE'

WINDIR = `C:\WINNT'

USERPROFILE = `C:\WINNT\Profiles\alcocer'

PS1 = `\[\033]0;\w\007

\033[32m\]\u@\h \[\033[33m\w\033[0m\]

$ '

MACHTYPE = `i686-pc-cygwin'

PROCESSOR_IDENTIFIER = `x86 Family 6 Model 4 Stepping 2, AuthenticAMD'

OS = `Windows_NT'

OLDPWD = `/build/build-gcc/gcc'

PROCESSOR_ARCHITECTURE = `x86'

TEMP = `/cygdrive/c/TEMP'

PROCESSOR_LEVEL = `6'

SYSTEMROOT = `C:\WINNT'

HOMEDRIVE = `C:'

SHLVL = `1'

HOMEPATH = `\'

USERDOMAIN = `OCELOTE'

USERNAME = `alcocer'

SHELL = `/bin/sh'

HOSTTYPE = `i686'

OSTYPE = `cygwin'

TERM = `cygwin'

_ = `/usr/bin/cygcheck'

TZ = `GMTST0GMTDT-1,M3.5.0/2,M10.5.0/3'



HKEY_CURRENT_USER\Software\Cygnus Solutions

HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin

HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2

  (default) = `/cygdrive'

  cygdrive flags = 0x00000022

HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/

  (default) = `D:/cygwin'

  flags = 0x0000000a

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin

  (default) = `D:/cygwin/bin'

  flags = 0x0000000a

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib

  (default) = `D:/cygwin/lib'

  flags = 0x0000000a

HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options



a:  fd           N/A    N/A                    

c:  hd  NTFS    4094Mb  22% CP CS UN PA FC     

d:  hd  NTFS     133Mb  98% CP CS UN PA FC     

e:  cd           N/A    N/A                    

f:  net NTFS    8763Mb  30%          PA        alcocer



D:\cygwin\bin  /usr/bin  system  binmode

D:\cygwin\lib  /usr/lib  system  binmode

D:\cygwin  /        system  binmode



Found: D:\cygwin\bin\bash.exe

Found: D:\cygwin\bin\cat.exe

Found: D:\cygwin\bin\cpp.exe

Found: D:\cygwin\bin\find.exe

Found: D:\cygwin\bin\gcc.exe

Found: D:\cygwin\bin\gdb.exe

Found: D:\cygwin\bin\ld.exe

Found: D:\cygwin\bin\ls.exe

Found: D:\cygwin\bin\make.exe

Found: D:\cygwin\bin\sh.exe



  475k 2000/11/20 D:\cygwin\bin\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0

                  "cygbz21.0.dll" v0.0 ts=2000/11/20 23:53

   14k 2000/10/23 D:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0

                  "cygintl.dll" v0.0 ts=2000/10/23 20:02

   83k 2000/06/11 D:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0

                  "cygitcl30.dll" v0.0 ts=2000/6/11 4:34

   35k 2000/06/11 D:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0

                  "cygitk30.dll" v0.0 ts=2000/6/11 4:34

  402k 2000/06/11 D:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0

                  "cygtcl80.dll" v0.0 ts=2000/6/11 4:30

    5k 2000/06/11 D:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0

   10k 2000/06/11 D:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0

                  "cygtclreg80.dll" v0.0 ts=2000/6/11 4:30

  639k 2000/06/11 D:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0

                  "cygtk80.dll" v0.0 ts=2000/6/11 4:34

   49k 2000/10/23 D:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0

                  "cygz.dll" v0.0 ts=2000/10/23 1:22

  609k 2000/11/22 D:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0

                  "cygwin1.dll" v0.0 ts=2000/11/22 2:00

    Cygwin DLL version info:

        dll major: 1001

        dll minor: 6

        dll epoch: 19

        dll bad signal mask: 19005

        dll old termios: 5

        dll malloc env: 28

        api major: 0

        api minor: 30

        shared data: 3

        dll identifier: cygwin1

        mount registry: 2

        cygnus registry name: Cygnus Solutions

        cygwin registry name: Cygwin

        program options name: Program Options

        cygwin mount registry name: mounts v2

        cygdrive flags: cygdrive flags

        cygdrive prefix: cygdrive prefix

        cygdrive default prefix: 

        build date: Tue Nov 21 21:00:16 EST 2000

        shared id: cygwin1S3



Use -h to see help about each section

Any ideas on how to workaround this?

-- 
Dario Alcocer // alcocer@helixdigital.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]