https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78978

--- Comment #5 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Fri Jan  6 16:04:01 2017
New Revision: 244165

URL: https://gcc.gnu.org/viewcvs?rev=244165&root=gcc&view=rev
Log:
        PR go/78978
    libgo: build with -Wa,-nH if possible on Solaris

    By default the Solaris assembler records the required hardware
    capability in the object file.  This means that the AES hashing code
    breaks on systems that do not support AES, even though the code uses a
    runtime check to only actually invoke the AES instructions on systems
    that support it.  An earlier fix for the problem only fixed the shared
    library, not the static libgo.a.  Fix the problem for real by using an
    assembler option to not record the hardware capability.

    For GCC PR 78978.

    Patch by Rainer Orth.

    Reviewed-on: https://go-review.googlesource.com/34910

Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/libgo/Makefile.am
    trunk/libgo/Makefile.in
    trunk/libgo/configure
    trunk/libgo/configure.ac
    trunk/libgo/testsuite/Makefile.in

Reply via email to