snowyu / libtorrent

Automatically exported from code.google.com/p/libtorrent
Other
1 stars 0 forks source link

rb_libtorrent-0.16.15 fails to compile with clang #604

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1. Try to compile rb_libtorrent-0.16.15 with clang-3.4
2. It will fail with

error in backend: Do not know how to split the result of this operator!
clang: error: clang frontend command failed with exit code 70 (use -v to see 
invocation)

I've tried it on Gentoo.

Original issue reported on code.google.com by piatli...@gmail.com on 22 Apr 2014 at 6:43

GoogleCodeExporter commented 9 years ago
See also: https://bugs.gentoo.org/show_bug.cgi?id=508214

Original comment by piatli...@gmail.com on 22 Apr 2014 at 6:44

GoogleCodeExporter commented 9 years ago
and http://llvm.org/bugs/show_bug.cgi?id=19492

Original comment by piatli...@gmail.com on 22 Apr 2014 at 6:45

GoogleCodeExporter commented 9 years ago
I've found a minimal set of flags that causes and error on my machine:

    clang -I. -I../include -I/usr/include -O2 -march=native -c mpi.c -o mpi.o

-O2 toghether with -march=native

Original comment by piatli...@gmail.com on 9 May 2014 at 11:51