Results 1 to 1 of 1

Thread: GCC 3.2.3 problems

  1. #1

    GCC 3.2.3 problems

    I built a toolchain to cross-compile for Oleg's firmware from Cygwin. I'm having some problems with GCC 3.2.3. Some files cause crashes when -O2 is used. The problem seems to be due to -fschedule-insns2. The same problem affects a native i686-pc-cygwin compiler and the cross compiler. GCC can't even bootstrap itself successfully. The problem seems to exist with GCC 3.0 through 3.2.3, and the same thing happens if GCC 3.2.3 is built with 2.95.3 or 3.4.4.

    I just ran hello world on my router, so I guess GCC isn't totally broken, but I'd like to have a compiler that doesn't crash. Can I use a newer GCC? I used 3.2.3 because the Broadcom patches on Oleg's site are for 3.2.3.

    (Unrelated hints for those building a toolchain in Cygwin: Oleg's patches require patch-2.5.9. Then The GCC and uClibc circular dependency can be resolved by using the make -k switch the first time.)

    Update: Except for those GCC crashes, the toolchain works properly. I've been able to compile my LED sign software without problems. Note that uClibc installs its own gcc wrapper, so it is necessary to use mipsel-uclibc-gcc, not mipsel-linux-gcc.
    Last edited by dreamlayers; 21-07-2009 at 16:35. Reason: Update with new info

Similar Threads

  1. FTP (vsftpd)
    By FOXTREE in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 322
    Last Post: 11-11-2014, 18:35
  2. problems with esniper
    By zwoerb in forum WL-500gP Q&A
    Replies: 8
    Last Post: 07-08-2009, 13:04
  3. Several problems
    By dvdtje in forum WL-500g Q&A
    Replies: 2
    Last Post: 25-10-2008, 23:18
  4. Compilation problems..
    By xmeister in forum WL-700g Q&A
    Replies: 4
    Last Post: 28-12-2007, 16:43

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts