Thread overview
[Issue 6347] New: dmd 2.054, gcc 4.2.3 - can not compile dmd from source
Jul 19, 2011
Alexander
[Issue 6347] Switch to posix.mak is not listed in changelog, and linux.mak is still in zip
Jul 19, 2011
yebblies
Jul 20, 2011
Alexander
Jan 21, 2012
Walter Bright
July 19, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6347

           Summary: dmd 2.054, gcc 4.2.3 - can not compile dmd from source
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: d@metis.utfs.org


--- Comment #0 from Alexander <d@metis.utfs.org> 2011-07-19 08:45:11 PDT ---
Created an attachment (id=1010)
compiler output

$ make -f linux.mak
g++ -m64 idgen.c -o idgen
[...]
types.o ti_pvoid.o libelf.o elfobj.o -o dmd
cast.o: In function `CastExp::getIntRange()':
cast.c:(.text+0x541): undefined reference to `IntRange::cast(Type*)'
cast.o: In function `IntegerExp::getIntRange()':
cast.c:(.text+0x59a): undefined reference to `IntRange::cast(Type*)'
cast.o: In function `MulExp::getIntRange()':
cast.c:(.text+0x61e): undefined reference to
`SignExtendedNumber::operator*(SignExtendedNumber const&) const'
cast.c:(.text+0x636): undefined reference to
`SignExtendedNumber::operator*(SignExtendedNumber const&) const'
cast.c:(.text+0x650): undefined reference to
`SignExtendedNumber::operator*(SignExtendedNumber const&) const'
cast.c:(.text+0x665): undefined reference to
`SignExtendedNumber::operator*(SignExtendedNumber const&) const'
cast.c:(.text+0x67e): undefined reference to
`IntRange::fromNumbers4(SignExtendedNumber const*)'
[...]
collect2: ld returned 1 exit status
make: *** [dmd] Error 1


Note: I was able to compile dmd 2.053.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 19, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6347


yebblies <yebblies@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebblies@gmail.com
           Platform|x86_64                      |All
            Summary|dmd 2.054, gcc 4.2.3 - can  |Switch to posix.mak is not
                   |not compile dmd from source |listed in changelog, and
                   |                            |linux.mak is still in zip


--- Comment #1 from yebblies <yebblies@gmail.com> 2011-07-20 02:54:57 EST ---
Starting with 2.054, posix.mak should be used for building on linux, not linux.mak.

This really should be in the changelog and linux.mak should be removed from the zip.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 20, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6347



--- Comment #2 from Alexander <d@metis.utfs.org> 2011-07-20 02:03:53 PDT ---
okay, with posix.mak it works.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
January 21, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6347


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |WORKSFORME


--- Comment #3 from Walter Bright <bugzilla@digitalmars.com> 2012-01-20 22:59:32 PST ---
This has been fixed for a while.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------