Is Pan working for anyone?

Same problem. They only seem to have fixed the build issue, it builds just fine now. But I haven't seen the executable do anything more than segfault :(
 
Yeah, at first it produced build errors due to the switch to clang, those are now fixed but the resulting binary crashes. I've tried different GCC versions, even the old 4.2 one, same result each time, a segfault. Haven't really figured out why yet, the code from pan is quite horrible and I'm guessing it's crashing because of their use of certain GCC extensions. But I'm no developer so don't take my word for it ;)
 
The build problem looked be due to do with the change in the C++ standard template library in the base system rather than clang, and it wouldn't surprise me if that's the the cause of the runtime problem too. When built with GCC, pan ends-up being linked against both the new base system STL library and the one provided by the GCC port. That isn't a problem in itself as long as the code is well behaved - but it probably isn't.
 
Last edited by a moderator:
Thanks a lot for the recipe - I was able to successfully use Pan after building with this flag.

How can I pass the flag when building with Poudriere? Something like this?

/etc/make.conf

Code:
.if ${.CURDIR:M*/news/pan}
  LDFLAGS="-static-libgcc -static-libstdc++"  
.endif
 
Back
Top