Wireshark mailing list archives

Re: Lemon crashing on Solaris? (was Re: [Wireshark-commits] buildbot failure in Wireshark (development) on Solaris-10-SPARC)


From: Guy Harris <guy () alum mit edu>
Date: Mon, 25 Nov 2013 01:35:03 -0800


On Nov 25, 2013, at 1:14 AM, Guy Harris <guy () alum mit edu> wrote:

I don't know why GCC isn't actually implementing -ftrapv on x86

Well, to be fair, that should be "why llvm-gcc isn't ..." - llvm-gcc may behave differently from regular gcc in a 
number of ways, given that the back end is completely different (some -W checks simply don't work in llvm-gcc; as I 
remember, some of the "not set before use" checks don't actually catch anything with llvm-gcc, although they *do* work 
with clang - perhaps the GCC front end is expecting the back end to do some work that the LLVM back end is expecting 
the front-end to do, but Clang does that work).

As for GCC, there appear to be some bugs about -ftrapv on x86-64, at least:

        http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39771

        http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35412

        http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40143

        http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19020
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: