Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix rt/dmain2 to properly declare one missing symbol (probably visibl…

…e due to bug 314 while building the whole library but not when building the unittest.

Start building druntime with -O on 64 bit, everything passes now
  • Loading branch information...
commit 24ce9586be3a3238c9d96d05b681a2ff039bfb0e 1 parent c235d81
@braddr braddr authored
Showing with 5 additions and 12 deletions.
  1. +2 −11 posix.mak
  2. +3 −1 src/rt/dmain2.d
View
13 posix.mak
@@ -6,17 +6,10 @@ IMPDIR=import
MODEL=32
-ifeq ($(MODEL),64)
-DFLAGS=-m$(MODEL) -release -inline -nofloat -w -d -Isrc -Iimport
-UDFLAGS=-m$(MODEL) -release -nofloat -w -d -Isrc -Iimport
-
-CFLAGS=-m$(MODEL)
-else
DFLAGS=-m$(MODEL) -O -release -inline -nofloat -w -d -Isrc -Iimport
UDFLAGS=-m$(MODEL) -O -release -nofloat -w -d -Isrc -Iimport
CFLAGS=-m$(MODEL) -O
-endif
OBJDIR=obj
DRUNTIME_BASE=druntime
@@ -402,11 +395,9 @@ unittest : $(addprefix $(OBJDIR)/,$(SRC_D_MODULES)) $(DRUNTIME) $(OBJDIR)/emptym
@echo done
ifeq ($(MODEL),64)
-DISABLED_TESTS = \
- rt/dmain2
+DISABLED_TESTS =
else
-DISABLED_TESTS = \
- rt/dmain2
+DISABLED_TESTS =
endif
$(addprefix $(OBJDIR)/,$(DISABLED_TESTS)) :
View
4 src/rt/dmain2.d
@@ -57,7 +57,9 @@ version (all)
}
_d_unhandled = t;
}
-
+
+ extern (C) Throwable.TraceInfo _d_traceContext(void* ptr = null);
+
extern (C) void _d_createTrace(Object *o)
{
auto t = cast(Throwable) o;
Please sign in to comment.
Something went wrong with that request. Please try again.