 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
rgr
Joined: 06 Mar 2006 Posts: 2
|
Posted: Tue Mar 07, 2006 5:27 am Post subject: Error building toolchain (proc magic mismatch) |
|
|
While compiling the toochain on Cygwin XP i got the error:
| Code: | 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? |
|
| Back to top |
|
 |
rgr
Joined: 06 Mar 2006 Posts: 2
|
Posted: Tue Mar 07, 2006 6:23 pm Post subject: |
|
|
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: | 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::money_get<_CharT, _InIter>::do_get(_InIter,
_InIter, bool, std::ios_base&, std::_Ios_Iostate&, std::basic_string<_CharT,
std::char_traits<_CharT>, std::allocator<_CharT> >&) const [with _CharT =
char, _InIter = std::istreambuf_iterator<char, std::char_traits<char> >]':
../../../../libstdc++-v3/src/locale-inst.cc:47: instantiated from here
/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3/include/bits/locale_facets.tc
c:1167: Internal
compiler error in schedule_block, at haifa-sched.c:1714
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[3]: *** [locale-inst.lo] Error 1
make[3]: Leaving directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3/s
rc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/tmp/ps2dev/gcc-3.2.2/build-ee-c++/ee/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2
ERROR BUILDING GCC (gcc-3.2.2 ee C++) |
However, i believe i've seen this one in other threads, so i'll give a look around. |
|
| Back to top |
|
 |
evilo

Joined: 22 Apr 2004 Posts: 230
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|