This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/61514] New: -ftree-vectorize cause bogus "duplicate section ... has different size" on windows x64
- From: "blaffablaffa at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 15 Jun 2014 19:48:01 +0000
- Subject: [Bug c++/61514] New: -ftree-vectorize cause bogus "duplicate section ... has different size" on windows x64
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61514
Bug ID: 61514
Summary: -ftree-vectorize cause bogus "duplicate section ...
has different size" on windows x64
Product: gcc
Version: 4.8.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: blaffablaffa at gmail dot com
some other instances: http://stackoverflow.com/q/14181351/1073006
http://stackoverflow.com/q/11635485/1073006
In my case the duplicated section is related to guard variable of a static
function variable.
I haven't been able to reduce this to a small test case, because being
something related to optimization it's being very sensitive to the actual code
being compiled. My code is located on github:
wget
https://github.com/pisto/spaghettimod/archive/4342b93933ce8d9f18c1bc2cc35db3e689a6d101.zip
-O spaghetti.zip
unzip spaghetti.zip
rm spaghetti.zip
cd spaghetti*
make PLATFORM=x86_64-w64-mingw32
(you'll need a working `pkg-config lua`).