error when building v0.10

16 views
Skip to first unread message

Martin Angers

unread,
Jun 25, 2015, 12:54:07 PM6/25/15
to crack-l...@googlegroups.com
I posted this on github issues for crack-lang/crack, but I'm not sure if that's an official repo, so I'm reposting here:

Hi,

Crack looks like a very interesting language, I'm trying to install it (0.10 tarball) on my Arch Linux laptop (amd64), I get the following error during `make`:

```
ext/Stub.cc: In member function 'const std::vector<crack::ext::Func*>& crack::ext::Type::getMethods() const':
ext/Stub.cc:103:24: internal compiler error: in expand_thunk, at cgraphunit.c:1700
 void Type::finish() { };
                         ^
```

I have installed llvm 3.3 from source, with the `make REQUIRES_RTTI=1` option.

Let me know if there's any additional info you'd want me to share.

Also, side-questions:

* Is that the correct repo to raise such issues? I saw the google code repo, but since google code will die soon I presumed this was the new home.
* Is that still actively developed? Kind of looks like a yes from the recent commits, but just want to be sure it's still a thing (I hope so, looks like there was a lot of work put in it already).
* I see that it is copyrighted Google, is it a 20% project? Or something Google-backed?

Thanks,
Martin

Conrad Steenberg

unread,
Jun 25, 2015, 6:01:00 PM6/25/15
to Crack Language Dev
Hi Martin,

What are your gcc/g++/c++stdlib versions? The compiler itself is built using g++.

Can you also try the current master from github? I'll let Michael answer the question
about which repo is canonical :-)

It's a part-time/20% project which has been slowed down by real life, and trying to
solve some really hard binary code caching problems.

It's been usable for me for real projects for at least 2 years.

Cheers,
Conrad


--
You received this message because you are subscribed to the Google Groups "crack-lang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to crack-lang-de...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
-----------------------------------------------------------------------------
Conrad D. Steenberg Ph.D.            conrad.s...@trinet.com
Senior Systems Engineer

Michael Muller

unread,
Jun 25, 2015, 6:40:30 PM6/25/15
to crack-lang-dev
On Thu, Jun 25, 2015 at 6:01 PM, Conrad Steenberg <conrad.s...@gmail.com> wrote:
Hi Martin,

What are your gcc/g++/c++stdlib versions? The compiler itself is built using g++.

Can you also try the current master from github? I'll let Michael answer the question
about which repo is canonical :-)

It's a part-time/20% project which has been slowed down by real life, and trying to
solve some really hard binary code caching problems.

It's been usable for me for real projects for at least 2 years.

Cheers,
Conrad


On Thu, Jun 25, 2015 at 9:54 AM, Martin Angers <martin....@gmail.com> wrote:
I posted this on github issues for crack-lang/crack, but I'm not sure if that's an official repo, so I'm reposting here:

Hi,

Crack looks like a very interesting language, I'm trying to install it (0.10 tarball) on my Arch Linux laptop (amd64), I get the following error during `make`:

```
ext/Stub.cc: In member function 'const std::vector<crack::ext::Func*>& crack::ext::Type::getMethods() const':
ext/Stub.cc:103:24: internal compiler error: in expand_thunk, at cgraphunit.c:1700
 void Type::finish() { };
                         ^
```

I have installed llvm 3.3 from source, with the `make REQUIRES_RTTI=1` option.

Let me know if there's any additional info you'd want me to share.

Also, side-questions:

* Is that the correct repo to raise such issues? I saw the google code repo, but since google code will die soon I presumed this was the new home.

Yes, the github repo is effectively canonical at this time, though I haven't announced it or fixed the project page yet.
 
* Is that still actively developed? Kind of looks like a yes from the recent commits, but just want to be sure it's still a thing (I hope so, looks like there was a lot of work put in it already).

Most definitely :-)
 
* I see that it is copyrighted Google, is it a 20% project? Or something Google-backed?

Yes, as Conrad said, it's a 20% project from the perspective of Google. 

Martin Angers

unread,
Jun 25, 2015, 7:15:07 PM6/25/15
to crack-l...@googlegroups.com
Thanks a lot guys, very excited to hear this, I'll take a shot at building from master and will retry a few different things. My g++ compiler is 5.1.0.

Conrad Steenberg

unread,
Jun 25, 2015, 7:42:56 PM6/25/15
to Crack Language Dev
FWIW, it works here with g++ 4.9 on stock Ubuntu 15.04. Good luck!

Martin Angers

unread,
Jun 26, 2015, 9:27:03 AM6/26/15
to crack-l...@googlegroups.com
Thanks, I'll probably just set up a docker image based on that ubuntu version, then.

Martin Angers

unread,
Jul 10, 2015, 8:48:13 PM7/10/15
to crack-l...@googlegroups.com
I put up a Ubuntu-based Crack 0.10 docker image here: https://registry.hub.docker.com/u/puerkitobio/crack/

It's currently an ugly interactively-created docker image, I'll clean that up and use a nice Dockerfile eventually, but at least it means I can now use crack on my arch linux laptop. It may be useful for someone else who wants to try Crack in a similar setup.

Michael Muller

unread,
Jul 13, 2015, 6:57:05 AM7/13/15
to Martin Angers, crack-l...@googlegroups.com

Thanks, Martin.

I set up another Docker image a while ago:
https://registry.hub.docker.com/u/crack/simple-stripped/

I didn't point it out because it's out-of-date (pre 0.10, I think). I have a
Dockerfile that does a stripped down build, I'll add it to the repo when I get
to work.
> --
> You received this message because you are subscribed to the Google Groups "crack-lang-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to crack-lang-de...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>


=============================================================================
michaelMuller = mmu...@enduden.com | http://www.mindhog.net/~mmuller
-----------------------------------------------------------------------------
The people can always be brought to the bidding of the leaders. That is easy.
All you have to do is tell them they are being attacked and denounce the
pacifists for lack of patriotism and exposing the country to danger. It works
the same way in any country. - Hermann Goering (Hitler's right-hand man)
=============================================================================
Reply all
Reply to author
Forward
0 new messages