# travis: build zig with gcc to match what llvm was built with · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/f9bf04c38b693b0eee368416ec8eaba06a057e1e)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: f9bf04c38b693b0eee368416ec8eaba06a057e1e

Requested commit: f9bf04c38b693b0eee368416ec8eaba06a057e1e

Commit: f9bf04c38b693b0eee368416ec8eaba06a057e1e

Tree: 0fcf8757c2f9b99e66d5f5c750a37d88eabc3444

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
travis: build zig with gcc to match what llvm was built with

from #llvm IRC:

<andrewrk> does llvm 7 as a .so have some kind of new initialization
requirement? I'm getting a segfault in llvm::DIBuilder::createFile
(with valid non-null parameters), when linking my frontend against
llvm-7.so but not when linking against llvm .a libraries

<d0k> we have an ABI bug in LLVM 7 when the .so is built with gcc
but your program is build with clang. I'm sorry for that.

```

## Parents

- [287f5cce50ff5fb1b9515ce8b7c38339c9d22472](https://git.cafe/gitcafe/zig/commit/287f5cce50ff5fb1b9515ce8b7c38339c9d22472?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/f9bf04c38b693b0eee368416ec8eaba06a057e1e?format=markdown)
