Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Compiled GCC 4.4 from source and everything was broken

  1. #1
    Join Date
    Jul 2008
    Location
    Inside the Cell B.E.
    Beans
    806
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Compiled GCC 4.4 from source and everything was broken

    EDIT! SOLVED! BAD HARD DRIVE!

    Hi. I compiled GCC 4.4 from source and it was i686 optimized, X86, 32-bit architecture and I ran ./configure --prefix=/usr, make, sudo make install, no errors. It all worked wonderfully. After I reboot, HAL, Dbus, and networking don't work. I run sudo Xorg -configure to not use HAL, keyboard and mouse work. Networking still doesn't. I spend about 10 minutes trying to fix it and I decide to do a fresh install. Why did GCC 4.4 break my system? How can I prevent it from happening? How can I have GCC 4.4 and all its sub applications compiled from source and not have problems?

    My goal of doing all this: To compile a kernel with GCC 4.4 and G++ 4.4

    For those who want to help (Linux beginners do not try this)

    Code:
    cd && mkdir devel && cd devel && wget http://gcc.releasenotes.org/snapshots/LATEST-4.4/gcc-4.4-20090306.tar.bz2 && tar xjf gcc-4.4* && cd gcc* && sudo apt-get build-dep libstdc++5 libstdc++6 gcc g++ && ./configure --prefix=/usr && make && sudo make install
    Read that code line carefully so you know what you're about to do! IF IN DOUBT, DON'T DO THAT COMMAND! BY THE WAY, IT WILL TAKE OVER 7 HOURS DEPENDING ON CPU CLOCK SPEED!
    Last edited by Neo_The_User; March 18th, 2009 at 05:21 PM. Reason: Solved

  2. #2
    Join Date
    May 2007
    Location
    California, USA
    Beans
    245

    Re: Compiled GCC 4.4 from source and everything was broken

    Or just:

    Code:
    aptitude install gcc-snapshot

  3. #3
    Join Date
    Jul 2008
    Location
    Inside the Cell B.E.
    Beans
    806
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Compiled GCC 4.4 from source and everything was broken

    Quote Originally Posted by InfinityCircuit View Post
    Or just:

    Code:
    aptitude install gcc-snapshot
    That's older than 4.3. It's 4.2. sudo apt-get install gcc-4.3 is newer than that even.

  4. #4
    Join Date
    Jul 2008
    Location
    Inside the Cell B.E.
    Beans
    806
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Compiled GCC 4.4 from source and everything was broken

    bump. please help. has anybody compiled ANY version of gcc from source and their system worked afterwards?

    Problem: gcc 4.4 breaks my system.

    What I want to accomplish: compile a kernel under 700K using gcc 4.4 and then continue doing mesa and libdrm development with gcc 4.4.
    Last edited by Neo_The_User; March 10th, 2009 at 07:19 PM.

  5. #5
    Join Date
    Jul 2008
    Location
    Inside the Cell B.E.
    Beans
    806
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Compiled GCC 4.4 from source and everything was broken

    nobody compiles gcc eh? bump bump bump!! Ugh ok nobody wants to help me out eh? I help others and don't get back much. Well that sure sucks. I'll be compiling and trying to debug this problem myself on my other machines. If anybody feels like giving me a little tip of advice, suggestion, or an explanation on why gcc broke my system, feel free to post! Nobody is stopping you!
    Last edited by Neo_The_User; March 11th, 2009 at 02:08 AM.

  6. #6
    Join Date
    Jul 2007
    Location
    Norway, Viking Land
    Beans
    4
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Compiled GCC 4.4 from source and everything was broken

    I've compiled gcc from source a few times now. You say everything was broken, in what way?

  7. #7
    Join Date
    Jul 2008
    Location
    Inside the Cell B.E.
    Beans
    806
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Compiled GCC 4.4 from source and everything was broken

    networking didn't work, display screens were completely blanked, everything you could imagine, right after ubuntu finishes starting up. i still want gcc 4.4 but i'm not compiling it until i find out what happened.

  8. #8
    Join Date
    Jul 2007
    Location
    Norway, Viking Land
    Beans
    4
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Compiled GCC 4.4 from source and everything was broken

    Did you run 'sudo ldconfig' after installing?

    If you ran 'make -k check' after the build, were there many errors?(That's a command that will take quite a while too)

    If there were just a few, that's normal.

  9. #9
    Join Date
    Jul 2008
    Location
    Inside the Cell B.E.
    Beans
    806
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Compiled GCC 4.4 from source and everything was broken

    OK I was wrong this whole time. My hard drive got corrupted which is why my system broke. I compiled the gcc suite to /usr again and it works wonderfully. Just coincidence that I was compiling gcc 4.4 right before my entire system broke. But yeah... wrong diagnostic.

  10. #10
    Join Date
    Jul 2007
    Location
    Norway, Viking Land
    Beans
    4
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Compiled GCC 4.4 from source and everything was broken

    Glad that you got it sorted out. How's the performance of 4.4? I noticed a large jump in performance from 4.3.2 to 4.3.3.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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