OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Thorsten Glaser (tygs_at_netcologne.de)
Date: Sun Oct 27 2002 - 08:02:31 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    begin electrogrammati illius Patrick Giagnocavo +1.717.201.3366

    >What I would like to hear about are the best COPTS in mk.conf for:
    >
    >x86:

    I am doing this (for pentium optimized, not P2 or K6), but I triggered
    gcc-2.95 optimization bugs that made the system crash at weird points,
    plus I'm not getting support from here for that...

    That's why I put some effort into compiling my _entire_ system with
    gcc-3.2 (ports/lang/egcs/stable), and _that_ works. I have still to
    use g++-2.95 because libcurses++ won't compile at all due to some
    methods missing (standards compliance is a foreign word for g++-2.*),
    but that still works quite well.

    OTOH, I don't currently compile dynamic libraries, because
    a) I'm waiting for ELF, and it's more effort to upgrade from -current
       to -mirabile again than adding ELF support
    b) when I did the first compile (full make build) with gcc-3.2 I had
       some weird errors in every and any dynamically linked binary, and
       I suspect that it has something to do with /usr/lib/{lib*.so.*,*.o}
       being not in sync. I didn't really go deeper in this, but I will
       once ELF support for x86-32 is committed.

    My snapshot is at http://templeofhate.com/tglaser/bsd/snap.php, if you
    want to try it out. I even got XFree86 to compile. Also the settings in
    /etc/mk.conf are included, plus some other nice stuff (IPv6 for apache,
    etc...) but that snapshot is not for the unexperienced (OTOH I'm running
    it only and it has proven quite stable).

    I'd suggest you to read in the meta-faq (IIRC) why optimizing is no good
    idea (the cost of gcc bugs is higher than the gain by optimizing, or even
    building a custom kernel, on nowadays' computers). Then decide if you still
    want to optimize, or rather stick with the official OpenBSD (remember, you
    get support on this list only for official OpenBSD :) - YMMV.

    -Thorsten

    -- 
    |Bitte vielmals um Entschuldigung, ich habe tatsächlich
    |vergessen, die Zeilen umzubrechen. Wahrscheinlich, weil
    |ich vorher einige E-Mails geschrieben habe, und da ist es
    | nicht nötig.		-- Hans Peter Michael Limmert in d.r.s.p-r