Error building toolchain (proc magic mismatch)

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
rgr
Posts: 2
Joined: Mon Mar 06, 2006 7:39 am

Error building toolchain (proc magic mismatch)

Post by rgr »

While compiling the toochain on Cygwin XP i got the error:

Code: Select all

C:\cygwin\lib\gcc-lib\i686-pc-cygwin\3.3.3\cc1.exe (2804): *** proc magic mismatch detected - 0xC87757A7/0xD079E02.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
C:\cygwin\lib\gcc-lib\i686-pc-cygwin\3.3.3\cc1.exe (384): *** proc magic mismatch detected - 0xC87757A7/0xD079E02.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility and delete all but the most recent version.  The most recent version *should* reside in x:\cygwin\bin, where 'x' is the drive on which you have installed the cygwin distribution.  Rebooting is also suggested if you are unable to find another cygwin DLL.
*** The command 'gcc -o conftest -O2   conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
ERROR CONFIGURING BINUTILS (binutils-2.14 ee)
Obviously i did search for the cygwin dll, and there was only one, where it should be (it was a fresh cygwin install). And rebooted.

I also thought it might be compiler-related, so i downgraded gcc to 3.3.3 but i got the same error. Any suggestions?
rgr
Posts: 2
Joined: Mon Mar 06, 2006 7:39 am

Post by rgr »

I reinstalled cygwin, and just before ending, it warned there was a cygwin1.dll on windows\system32 that it couldn't erase. I forgot that by default windows search doesnt search for hidden/system files - i'm used to *nix find/locate :P. After removing the offending files (there was also a cygz.dll lying there) i managed to go a lot further, to the next error:

Code: Select all

ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3/include -I../../../../libstdc++-v3
/libsupc++  -I../../../../libstdc++-v3/libmath    -g -O2 -fno-implicit-templates
  -Wall -Wno-format -W -Wwrite-strings -Winline  -fdiagnostics-show-location=onc
e  -G0  -g    -c ../../../../libstdc++-v3/src/locale-inst.cc
/tmp/ps2dev/gcc-3.2.2/build-ee-c++/gcc/xgcc -shared-libgcc -B/tmp/ps2dev/gcc-3.2
.2/build-ee-c++/gcc/ -nostdinc++ -L/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc
++-v3/src -L/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3/src/.libs -nostdi
nc -B/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/newlib/ -isystem /tmp/ps2dev/gcc-3.2.
2/build-ee-c++/ee/newlib/targ-include -isystem /tmp/ps2dev/gcc-3.2.2/newlib/libc
/include -B/usr/local/ps2dev/ee/ee/bin/ -B/usr/local/ps2dev/ee/ee/lib/ -isystem
/usr/local/ps2dev/ee/ee/include -nostdinc++ -I/tmp/ps2dev/gcc-3.2.2/build-ee-c++
/ee/libstdc++-v3/include/ee -I/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3
/include -I../../../../libstdc++-v3/libsupc++ -I../../../../libstdc++-v3/libmath
 -g -O2 -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -f
diagnostics-show-location=once -G0 -g -c ../../../../libstdc++-v3/src/locale-ins
t.cc -o locale-inst.o
/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3/include/bits/locale_facets.tc
c: In
   member function `_InIter std&#58;&#58;money_get<_CharT, _InIter>&#58;&#58;do_get&#40;_InIter,
   _InIter, bool, std&#58;&#58;ios_base&, std&#58;&#58;_Ios_Iostate&, std&#58;&#58;basic_string<_CharT,

   std&#58;&#58;char_traits<_CharT>, std&#58;&#58;allocator<_CharT> >&&#41; const &#91;with _CharT =
   char, _InIter = std&#58;&#58;istreambuf_iterator<char, std&#58;&#58;char_traits<char> >&#93;'&#58;
../../../../libstdc++-v3/src/locale-inst.cc&#58;47&#58;   instantiated from here
/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3/include/bits/locale_facets.tc
c&#58;1167&#58; Internal
   compiler error in schedule_block, at haifa-sched.c&#58;1714
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL&#58;http&#58;//www.gnu.org/software/gcc/bugs.html> for instructions.
make&#91;3&#93;&#58; *** &#91;locale-inst.lo&#93; Error 1
make&#91;3&#93;&#58; Leaving directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3/s
rc'
make&#91;2&#93;&#58; *** &#91;all-recursive&#93; Error 1
make&#91;2&#93;&#58; Leaving directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3'
make&#91;1&#93;&#58; *** &#91;all-recursive-am&#93; Error 2
make&#91;1&#93;&#58; Leaving directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3'
make&#58; *** &#91;all-target-libstdc++-v3&#93; Error 2
ERROR BUILDING GCC &#40;gcc-3.2.2 ee C++&#41;
However, i believe i've seen this one in other threads, so i'll give a look around.
User avatar
evilo
Posts: 230
Joined: Thu Apr 22, 2004 8:40 pm
Contact:

Post by evilo »

this is the SAME issue we discussed here :
http://forums.ps2dev.org/viewtopic.php?t=4909

just read it, re-do the same thing, and everthying will work :)
Post Reply