[Bug other/42449] New: Error in dwarf2out.c when compiling tango for D with gdc

cr at silicide dot dk gcc-bugzilla@gcc.gnu.org
Mon Dec 21 16:36:00 GMT 2009


I have just updated to a new tango version.
The source for tango can be found in 
http://www.dsource.org/projects/tango/wiki/Download
svn co can be done 
svn co http://svn.dsource.org/projects/tango/tags/releases/0.99.8
The version report by svn update is revision 5270.

I build the tango library like this. (All path are relative to the home of the
checkout)

terry:~/src/work/0.99.8> svn update
At revision 5270.
terry:~/src/work/0.99.8> cd lib
terry:~/src/work/0.99.8/lib> ./bu
build-dmd.sh*      build-gdc-mac.sh*  build-gdc.sh*      build-gdc-x.sh*   
build-tango.sh*
terry:~/src/work/0.99.8/lib> ./build-g
build-gdc-mac.sh*  build-gdc.sh*      build-gdc-x.sh*    
terry:~/src/work/0.99.8/lib> ./build-gdc.sh --verbose --debug gdc
#!/bin/sh -v
cd "`dirname $0`"

while [ "$#" != "0" ]
...
....
tdc/wrap.o stdc/posix/pthread_darwin.o
gmake[1]: Leaving directory `/home/carsten/src/work/0.99.8/lib/common/tango'
chmod 644 ../tango/core/*.di || exit 1

export HOME=$OLDHOME
terry:~/src/work/0.99.8/lib> ./build-tango.sh --verbose --debug gdc
[gdmd] tango/sys/Process.d
[gdmd] tango/sys/Common.d
[gdmd] tango/sys/Environment.d
[gdmd] tango/sys/linux/linux.d
[gdmd] tango/sys/linux/tipc.d
[gdmd] tango/sys/linux/epoll.d
[gdmd] tango/sys/Pipe.d
[gdmd] tango/sys/solaris/solaris.d
[gdmd] tango/sys/SharedLib.d
[gdmd] tango/time/ISO8601.d
[gdmd] tango/time/Time.d
[gdmd] tango/time/WallClock.d
[gdmd] tango/time/Clock.d
[gdmd] tango/time/chrono/Korean.d
[gdmd] tango/time/chrono/ThaiBuddhist.d
[gdmd] tango/time/chrono/Gregorian.d
[gdmd] tango/time/chrono/Taiwan.d
[gdmd] tango/time/chrono/Hebrew.d
[gdmd] tango/time/chrono/Hijri.d
[gdmd] tango/time/chrono/Japanese.d
[gdmd] tango/time/chrono/GregorianBased.d
[gdmd] tango/time/chrono/Calendar.d
[gdmd] tango/time/StopWatch.d
[gdmd] tango/math/Elliptic.d
[gdmd] tango/math/BigInt.d
[gdmd] tango/math/ErrorFunction.d
[gdmd] tango/math/internal/Cache.d
[gdmd] tango/math/internal/BiguintCore.d
[gdmd] tango/math/internal/BignumX86.d
[gdmd] tango/math/internal/BignumNoAsm.d
[gdmd] tango/math/GammaFunction.d
[gdmd] tango/math/IEEE.d
[gdmd] tango/math/random/engines/Sync.d
[gdmd] tango/math/random/engines/Twister.d
[gdmd] tango/math/random/engines/CMWC.d
[gdmd] tango/math/random/engines/KISS.d
[gdmd] tango/math/random/engines/URandom.d
[gdmd] tango/math/random/engines/ArraySource.d
[gdmd] tango/math/random/engines/KissCmwc.d
[gdmd] tango/math/random/NormalSource.d
[gdmd] tango/math/random/Ziggurat.d
[gdmd] tango/math/random/Twister.d
[gdmd] tango/math/random/Random.d
[gdmd] tango/math/random/ExpSource.d
[gdmd] tango/math/random/Kiss.d
[gdmd] tango/math/Bessel.d
[gdmd] tango/math/Probability.d
[gdmd] tango/math/Math.d
[gdmd] tango/math/Random.d
[gdmd] tango/math/Bracket.d
[gdmd] tango/util/Convert.d
[gdmd] tango/util/log/ConfigProps.d
[gdmd] tango/util/log/Trace.d
[gdmd] tango/util/log/AppendFile.d
[gdmd] tango/util/log/LayoutChainsaw.d
[gdmd] tango/util/log/AppendFiles.d
tango/util/log/AppendFiles.d:1: internal compiler error: in output_die, at
dwarf2out.c:7187
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.2/README.Bugs>.
Compilation of tango/util/log/AppendFiles.d failed
terry:~/src/work/0.99.8/lib> gdc --version
gdc (GCC) 4.2.4 20080705 (prerelease gdc 0.25 20080312, using dmd 1.024)
(Ubuntu 0.25-4.2.4-3.1)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


See I dont know what this error means so I don't know who to fix it.
I have tried this both on a 32bit and 64bits system and I am running Ubuntu
9.10

terry:~/src/work/0.99.8/lib> uname -a
Linux terry 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009
x86_64 GNU/Linux


-- 
           Summary: Error in dwarf2out.c when compiling tango for D with gdc
           Product: gcc
           Version: 4.2.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: cr at silicide dot dk


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42449



More information about the Gcc-bugs mailing list