[GHC] #9678: Warning about __sync_fetch_and_nand semantics from gcc

GHC ghc-devs at haskell.org
Sat Oct 11 19:40:24 UTC 2014


#9678: Warning about __sync_fetch_and_nand semantics from gcc
-------------------------------------+-------------------------------------
       Reporter:  gintas             |                   Owner:
           Type:  bug                |                  Status:  new
       Priority:  normal             |               Milestone:
      Component:  Build System       |                 Version:  7.9
       Keywords:                     |        Operating System:
   Architecture:  Unknown/Multiple   |  Unknown/Multiple
     Difficulty:  Unknown            |         Type of failure:
     Blocked By:                     |  None/Unknown
Related Tickets:                     |               Test Case:
                                     |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------
 When building ghc, I'm getting warnings about __sync_fetch_and_nand that
 the semantics have changed for gcc 4.4+. I'm building on Windows, but I
 don't think that matters.

 Is this an indication of a problem or does that warning just need to be
 silenced?

 I ran the build with gcc 4.8.3:

 $ inplace/mingw/bin/gcc -v
 Using built-in specs.
 COLLECT_GCC=C:\msys64\home\Gintas\ghc\inplace\mingw\bin\gcc.exe
 COLLECT_LTO_WRAPPER=C:/msys64/home/Gintas/ghc/inplace/mingw/bin/../libexec/gcc/x86_64-w64-mingw32/4.8.3
 /lto-wrapper.exe
 Target: x86_64-w64-mingw32
 Configured with: ../../../src/gcc-4.8.3/configure
 --host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32
 --target=x86_64-w64-mingw32 --prefix=/mingw64 --with-
 sysroot=/c/mingw483/x86_64-483-posix-seh-rt_v3-rev0/mingw64 --with-gxx-
 include-dir=/mingw64/x86_64-w64-mingw32/include/c++ --enable-shared
 --enable-static --disable-multilib --enable-
 languages=ada,c,c++,fortran,objc,obj-c++,lto --enable-libstdcxx-time=yes
 --enable-threads=posix --enable-libgomp --enable-lto --enable-graphite
 --enable-checking=release --enable-fully-dynamic-string --enable-version-
 specific-runtime-libs --disable-isl-version-check --disable-cloog-version-
 check --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-bootstrap
 --disable-rpath --disable-win32-registry --disable-nls --disable-werror
 --disable-symvers --with-gnu-as --with-gnu-ld --with-arch=nocona --with-
 tune=core2 --with-libiconv --with-system-zlib --with-
 gmp=/c/mingw483/prerequisites/x86_64-w64-mingw32-static --with-
 mpfr=/c/mingw483/prerequisites/x86_64-w64-mingw32-static --with-
 mpc=/c/mingw483/prerequisites/x86_64-w64-mingw32-static --with-
 isl=/c/mingw483/prerequisites/x86_64-w64-mingw32-static --with-
 cloog=/c/mingw483/prerequisites/x86_64-w64-mingw32-static --enable-cloog-
 backend=isl --with-pkgversion='x86_64-posix-seh-rev0, Built by MinGW-W64
 project' --with-bugurl=http://sourceforge.net/projects/mingw-w64
 CFLAGS='-O2 -pipe -I/c/mingw483/x86_64-483-posix-seh-
 rt_v3-rev0/mingw64/opt/include -I/c/mingw483/prerequisites/x86_64-zlib-
 static/include
 -I/c/mingw483/prerequisites/x86_64-w64-mingw32-static/include'
 CXXFLAGS='-O2 -pipe -I/c/mingw483/x86_64-483-posix-seh-
 rt_v3-rev0/mingw64/opt/include -I/c/mingw483/prerequisites/x86_64-zlib-
 static/include
 -I/c/mingw483/prerequisites/x86_64-w64-mingw32-static/include' CPPFLAGS=
 LDFLAGS='-pipe -L/c/mingw483/x86_64-483-posix-seh-
 rt_v3-rev0/mingw64/opt/lib -L/c/mingw483/prerequisites/x86_64-zlib-
 static/lib -L/c/mingw483/prerequisites/x86_64-w64-mingw32-static/lib'
 Thread model: posix
 gcc version 4.8.3 (x86_64-posix-seh-rev0, Built by MinGW-W64 project)

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9678>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list