[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20899: Bug in libtool: -fno-strict-alias not passed to linker stage
bug#20899: Bug in libtool: -fno-strict-alias not passed to linker stage when -flto is used
Thu, 25 Jun 2015 21:31:30 -0500 (CDT)
Alpine 2.01 (GSO 1266 2009-07-14)
On Thu, 25 Jun 2015, Davin McCall wrote:
I have discovered what I believe is a bug in libtool: It does not pass the
"-fno-strict-aliasing" compilation flag to the link stage. This is not
normally a problem, but is certainly a problem is "-flto" (link time
optimization) is used. In this case code that works correct only without
strict aliasing will incorrectly after being linked.
work for you? It might be necessary to also specify
-fno-strict-aliasing if the compiler also uses this.
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/