New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIGILL exceptions using Clang #2367

Closed
ghost opened this Issue May 28, 2014 · 3 comments

Comments

Projects
None yet
2 participants
@ghost

ghost commented May 28, 2014

Hi, I'm a contributor to the OCE project (https://github.com/tpaviot/oce/) and we're using Travis: https://travis-ci.org/tpaviot/oce

We have tests as part of the build process and we started getting a lot more failures in our testing suite under Clang after build 129. It appears that Travis switched from Clang 3.3 to 3.4 between (our) builds 129 and 130. Specifically, a lot more SIGFPE and SIGILL exceptions have arisen and the failures have skyrocketed (48 before, 367 after). This same increase was not seen under the gcc build. However, it appears that even Clang 3.3 was producing SIGILL errors under our testing suite as well.

Anyway, seeing SIGILL exceptions suggests that Travis' build of Clang is not generating the correct instructions for the VMs. It's also possible that this is a Clang issue instead, but I'm not seeing much on Google about SIGILL exceptions using Clang. Any insight on this problem would be appreciated, thanks.

@BanzaiMan

This comment has been minimized.

Member

BanzaiMan commented May 28, 2014

We use LLVM's binary package. http://llvm.org/releases/download.html#3.4 If it is error prone, then I tend to think this is an issue with that.

There is a 3.4.1 release; perhaps it will help you. You can wait until we upgrade the VM, or you can grab it from http://llvm.org/releases/3.4.1/clang+llvm-3.4.1-x86_64-unknown-ubuntu12.04.tar.xz, expand it and use it:

before_install:
  - wget http://llvm.org/releases/3.4.1/clang+llvm-3.4.1-x86_64-unknown-ubuntu12.04.tar.xz
  - tar xJf clang+llvm-3.4.1-x86_64-unknown-ubuntu12.04.tar.xz
  - export PATH=$PWD/clang+llvm-3.4.1-x86_64-unknown-ubuntu12.04/bin:$PATH
@roidrage

This comment has been minimized.

Member

roidrage commented Jun 10, 2014

@thatcadguy are you still seeing these errors?

@ghost

This comment has been minimized.

ghost commented Jun 10, 2014

Yes, but I think they are due to LLVM's design, not the version of Clang
supplied. This can be closed I think.

On Mon, Jun 9, 2014 at 10:58 PM, Mathias Meyer notifications@github.com
wrote:

@thatcadguy https://github.com/thatcadguy are you still seeing these
errors?


Reply to this email directly or view it on GitHub
#2367 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment