Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#4951 closed defect (invalid)

Compile error on Gentoo x86_64 with tango/stc/stdarg.d

Reported by: jeffd@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

On Gentoo, with GCC 4.1.2 and the "d" use flag (which automagically compiles gcc with GDC 0.23) I did the following:

  1. ln -s /usr/bin/gcc /usr/bin/gdc
  2. Checkout svn to trango
  3. cd tango/lib
  4. ./build-gdc.sh

After finishing the configuration script, I got the following compile error (left some surrounding fluff for reference):

gdc -o dgccmain2.o -g -frelease -O2 -fversion=GC_Use_Alloc_MMap -fversion=GC_Use_Stack_GLibC -fversion=GC_Use_Data_Fixed -nostdinc -pipe -I../../.. \

-c dgccmain2.d

gdc -o genobj.o -g -frelease -O2 -fversion=GC_Use_Alloc_MMap -fversion=GC_Use_Stack_GLibC -fversion=GC_Use_Data_Fixed -nostdinc -pipe -I../../.. \

-c genobj.d

gdc -o invariant.o -g -frelease -O2 -fversion=GC_Use_Alloc_MMap -fversion=GC_Use_Stack_GLibC -fversion=GC_Use_Data_Fixed -nostdinc -pipe -I../../.. \

-c invariant.d

gdc -o lifetime.o -g -frelease -O2 -fversion=GC_Use_Alloc_MMap -fversion=GC_Use_Stack_GLibC -fversion=GC_Use_Data_Fixed -nostdinc -pipe -I../../.. \

-c lifetime.d

../../../tango/stdc/stdarg.d:21: Error: cannot have out or inout parameter of type ubyte[24][1] ../../../tango/stdc/stdarg.d:815: template instance tango.stdc.stdarg.va_start!(uint) error instantiating lifetime.d:815: Error: cannot change reference to static array 'va' make[2]: * [lifetime.o] Error 1 make[2]: Leaving directory `/home/slayer/code/grep/tango/lib/compiler/gdc' make[1]: * [all] Error 2 make[1]: Leaving directory `/home/slayer/code/grep/tango/lib/compiler/gdc' make: * [lib] Error 2

Attachments (0)

Change History (1)

comment:1 by jeffd@…, 18 years ago

Resolution: invalid
Status: newclosed

Oops, wrong spot.

SORRY! :(

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.