[tlbuild] asy2.49 build

Mojca Miklavec mojca.miklavec.lists at gmail.com
Mon Apr 8 07:25:38 CEST 2019


Hi,

For darwinlegacy I now committed asy 2.49 without OpenGL support. It
worked in 2.47, but it seems that as soon as I add the sources for
GLEW, the compiler goes nuts and takes cca. 5 minutes to do any single
test and I simply gave up. Initially I thought this was not
reproducible on another machine (I tried on two different places), but
that's just because GLEW was missing on the second machine, as soon as
I added all dependencies, it was the same behaviour again. Since we
are running short on time, I disabled OpenGL support and committed the
latest version of the binary. If I manage to compile it with OpenGL,
I'll resubmit it later.

I would bet that I made it work with the latest GC on Mac OS X 10.6
last time, but I didn't want to spend extra hours and simply used GC
7.6.0 for it.


Regarding FreeBSD: the latest version of GC has the exact same
symptoms as on macOS, so I cannot get it working out of the box. On
macOS Dick reported that the latest working version was 7.6.0 (7.6.2
was apparently already broken). However this is what I get on FreeBSD
if I try 7.6.0:

libtool: compile:  cc -Wall -DHAVE_CONFIG_H -I./include -I./include
-I./libatomic_ops/src -I./libatomic_ops/src -fexceptions -Wall -Wextra
-g -O2 -fno-strict-aliasing -MT allchblk.lo -MD -MP -MF
.deps/allchblk.Tpo -c allchblk.c -o allchblk.o
In file included from allchblk.c:17:
In file included from ./include/private/gc_priv.h:94:
./include/private/gcconfig.h:2749:3: error: unknown type name 'GC_INNER'
  GC_INNER ptr_t GC_FreeBSDGetDataStart(size_t, ptr_t);
  ^
./include/private/gcconfig.h:2749:17: error: expected ';' after top
level declarator
  GC_INNER ptr_t GC_FreeBSDGetDataStart(size_t, ptr_t);
                ^
                ;
2 errors generated.


I noticed that asymptote doesn't pass CXXFLAGS to GC compilation, so
it might happen that there's C++ standard mismatch. I tried to fix
that (I did fix that one call), but the compilation errors don't go
away.

Mojca


More information about the tlbuild mailing list