Slashdot Mirror


Diving Into GCC: OpenBSD and m88k

BSD Forums writes "This OnLamp article by Miod Vallat describes how the m88k-specific backend of the GNU C compiler, gcc, was fixed, from the discovery and analysis of the problems to the real fixing work. Since it started with almost zero gcc internals knowledge, it should be understandable by anyone able to read C code, and proves that diving into gcc is not as hard as one could imagine."

11 of 167 comments (clear)

  1. OpenBSD and sexy women by Anonymous Coward · · Score: 2, Funny

    How can BSD be dying when it has a mascot like this?! Linux needs to get its act together if it's going to compete with the kind of hot chicks and gorgeous babes that BSD has to offer!

    You just can't take Linux seriously when its fronted by losers like these. You Linux groupies need to find some sexy girls like her! I mean just look at this girl! Doesn't she make you hard? I know this little hottie floats my boat! This guy looks like he is about to cream his pants standing next to such a fox. As you can see, no man can resist this sexy little cock teaser. Even this old bearded Unix guru is apparently unable to take his eyes off her!

    With sexy chicks like the lovely Ceren you will have people queuing up to buy open source products. Look! This guy can't get in there fast enough with her in the doorway! Come on, you must admit she is better than an overweight penguin! Don't you wish you could get one of these? Join the campaign for more cute open source babes today!

    1. Re:OpenBSD and sexy women by WTFmonkey · · Score: 2, Funny

      What's weird is, I go to SAn DIego State University and have had no less than 2 teachers that are DEAD RINGERS for the guy in the propeller hat.

  2. OpenBSD and m88k by Rosco+P.+Coltrane · · Score: 1, Funny

    I know it's an example of how to start messing with gcc, but perhaps it would have been better not to use a dead CPU and a dead OS to make the point?

    --
    "A door is what a dog is perpetually on the wrong side of" - Ogden Nash
    1. Re:OpenBSD and m88k by aled · · Score: 2, Funny

      I can make a dead gcc with zero knowledge of C.

      --

      "I think this line is mostly filler"
  3. Re:hard by Rosco+P.+Coltrane · · Score: 3, Funny

    if an optimization would break gcc's portability model they could just fork.

    Surely you forgot the "off" ...

    --
    "A door is what a dog is perpetually on the wrong side of" - Ogden Nash
  4. Protection by WTFmonkey · · Score: 3, Funny
    Notice how CUM, the first parameter, is used unprotected?
    No rubber? God only knows whast the little tramp picked up...
    1. Re:Protection by Anonymous Coward · · Score: 1, Funny

      Elegy For *BSD


      I am a *BSD user
      and I try hard to be brave
      That is a tall order
      *BSD's foot is in the grave.

      I tap at my toy keyboard
      and whistle a happy tune
      but keeping happy's so hard,
      *BSD died so soon.

      Each day I wake and softly sob
      Nightfall finds me crying
      Not only am I a zit faced slob
      but *BSD is dying.

  5. why i use openbsd by Anonymous Coward · · Score: 1, Funny

    I use openbsd because its hack-proof. They have the security team that every software company wants. i have been using openbsd since version 2.3 and no one has hacked my laptop yet. i feel very safe and secure using this operating system.

    m88k processor? is that better than intel p4? If so, how do i upgrade my dell laptop?

    The reason i ask is cause i want to be on the leading edge of technology. i dont want to be insecure either. thats why i use openbsd. because i have not been hacked yet on my laptop. its a nice thought to know that no one has accessed my machine from the outside.

    i think every machine should run openbsd.

    just my $0.02

  6. GCC: "not as hard as one could imagine" by Anonymous Coward · · Score: 2, Funny

    " and proves that diving into gcc is not as hard as one could imagine."

    Yeah, right. I'll continue the designs of my thermonuclear weapon using that abacus that I have lying around here.

    Moomin

  7. whatever you do by kenl999 · · Score: 2, Funny

    don't take the following out of context:

    "Notice how CUM, the first parameter, is used unprotected? Guess what happens in the CUM++; statement when CUM happens..."

    oh, you filthy little bastards...

  8. My experience by Anonymous Coward · · Score: -1, Funny

    Recently I had an experience to use OpenBSD. I had heard many great
    things about it, and was excited to replace a dead Linux firewall with
    this OS. Unfortunately as things turned out, OpenBSD proved to be more
    nightmare than solution.

    When not attending classes at my community college to get my
    humanities degree, I work part-time at a printshop. Our Linux box
    there finally gave up the ghost. I'd heard that OpenBSD was incredibly
    secure so I talked my boss into putting that on as a replacement.

    Part of the appeal of OpenBSD was its history. A fork of the Linux
    kernel, it was originally intended for Steve Job's failed NeXT cube.
    Recently, its found a home amongst the ignorant and easily-fooled as a
    firewall OS (later on, we'll see how Job's reached back to use OpenBSD
    in OSX. This will be important later!) BSD was also famous for an
    incident in the early 80s, where they were sued by Microsoft when the
    BSD developers stole the TCP/IP stack from Microsoft's PC-DOS.

    Once my boss gave approval, I quickly headed over to openbsd.com and
    downloaded the ISOs from the web site. Our box was pretty
    state-of-the-art, a two-CPU'ed Pentium III. Installing it went pretty
    flawless and I had high hopes for our new firewall.

    Almost immediately however I began to have concerns. I noticed no
    where did OpenBSD display the terms of the GPL. Since its based on
    Linux, this should be a requirement. Apparently the history of theft
    amongst the BSD developers still continues!

    I was even more shocked to learn that the ipchains rules we'd
    carefully setup on our Linux box would not work on OpenBSD! Perhaps
    OpenBSD is still using a SHARE-based networking security from the DOS
    TCP/IP stack! Or more likely they just haven't caught up to Linux and
    are still using iptables.

    Whatever the case, almost immediately our box was rooted. OpenBSD
    proved to be aptly named as the box was "open" to the entire world.
    Later on I would find out that despite its claims of being secure,
    OpenBSD's default configuration appears to start up every service
    known to man! I find it shocking that an OS commonly used for
    firewalls would have BIND running by default.

    Then there was the OpenSSH holes. I would later learn that OpenBSD has
    a history of remote exploits. Perhaps they should work with the team
    at RedHat, as RH knows how to secure their distros.

    After spending a week trying to patch a leaky firewall, I gave up. I
    found an Mac SE/30 and put OSX on it. I then installed Norton Personal
    Firewall. That became our firewall and I'm proud to say that its been
    happily running for two weeks without a single incident. I find it
    funny that despite OpenBSD users arrogant claims of superiority, a
    humble SE/30, running an OS that's loosely based on OpenBSD, performed
    much better. Perhaps its another failing of open source versus
    commercial software. Whatever the case, its clear that OpenBSD has a
    long ways to go before it can be taken seriously.