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

前端 未结 3 1765
情歌与酒
情歌与酒 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:26

    I got the same error when I compile my code use gcc-4.9.1 in MinGW32 with a lib which use gcc-4.4.7 as the compiler. And I also used ccache to speed up,ccache is also a problem. Remove the cache in ~/.ccache/ and recompiled then I workaround this.

提交回复
热议问题