I got 'duplicate section' errors when compiling boost_regex with size optimization (-Os)

前端 未结 3 1760
情歌与酒
情歌与酒 2020-12-31 14:06

compiler: http://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.7.2/32-bit/threads-posix/sjlj/x32-4.7.2-release-posix-sjlj-rev6.7z

boost: http://

3条回答
  •  臣服心动
    2020-12-31 14:29

    I believe this is a compiler bug. The workaround in my case was to add -fno-tree-vectorize.

提交回复
热议问题