Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#51340 closed update (fixed)

dmd-bootstrap, dmd, druntime, phobos, dmd-tools, dmd-doc: 2.071.0 available

Reported by: tenomoto (Takeshi Enomoto) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: haspatch Cc: tenomoto (Takeshi Enomoto)
Port: dmd-bootstrap, dmd, druntime, phobos, dmd-tools, dmd-doc

Description

I tried to update dmd, but I get a strange error when compiling idgen.d. If I issue command manually idgen binary is successfully created.

CC=/usr/bin/clang++ /opt/local/libexec/dmd-bootstrap/bin/dmd idgen.d
Undefined symbols for architecture x86_64:
  "__Unwind_GetIPInfo", referenced from:
      ___dmd_personality_v0 in libphobos2.a(dwarfeh_5c8_811.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Marcus, you have been contributing to the improvement of the build system. Could you take over the ownership from me?

Attachments (3)

patch-dmd-bootstrap-Portfile.diff (915 bytes) - added by tenomoto (Takeshi Enomoto) 8 years ago.
patch-dmd-Portfile.diff (1.9 KB) - added by tenomoto (Takeshi Enomoto) 8 years ago.
main.log (9.6 KB) - added by tenomoto (Takeshi Enomoto) 8 years ago.

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by tenomoto (Takeshi Enomoto)

Changed 8 years ago by tenomoto (Takeshi Enomoto)

Attachment: patch-dmd-Portfile.diff added

Changed 8 years ago by tenomoto (Takeshi Enomoto)

Attachment: main.log added

comment:1 Changed 8 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: newclosed

Should be fixed in r148693.

I think the problem was that the dmd-bootstrap version was set at too high a level.
By default, dmd uses version 2.068.2 to build itself (HOST_DMD_VER).
Using 2.068.2 for dmd-bootstrap seems to work.

I can take over maintainership for the time being, especially to support recent changes.
I am currently evaluating the D language for a small project, but we have not decided whether or not to use it.
If we decide to use another language, however, I will not use dmd on a regular basis, and problems will be less likely to be caught.

comment:2 in reply to:  1 Changed 8 years ago by tenomoto (Takeshi Enomoto)

Replying to mcalhoun@…:

Using 2.068.2 for dmd-bootstrap seems to work.

I wonder if we could use old version of dmd instead of dmd-bootstrap.

I can take over maintainership for the time being, especially to support recent changes.
I am currently evaluating the D language for a small project, but we have not decided whether or not to use it.
If we decide to use another language, however, I will not use dmd on a regular basis, and problems will be less likely to be caught.

Thank you for your offer. I am not a regular user of dlang either.

BTW we might like to have ldc when it reaches version 1.0.0.

Note: See TracTickets for help on using tickets.