Description of problem: I retrieved a simple helloworld program from http://prowiki.org/wiki4d/wiki.cgi?D__Tutorial/StartingWithD $ cat helloworld.d /* * Dependencies: * ldc ldc-phobos * Compile with: * ldc2 read_fasta.d */ import std.stdio; int main() { writefln("%s World!", "Hello"); return 0; } $ ldc2 helloworld.d /usr/include/d/std/stdio.d(18): Error: module stdio is in file 'core/stdc/stdio.d' which cannot be read import path[0] = /builddir/build/BUILD/ldc-20110901git58d40d2/runtime/../import import path[1] = /usr/include/d import path[2] = /builddir/build/BUILD/ldc-20110901git58d40d2/druntime/import import path[3] = /builddir/build/BUILD/ldc-20110901git58d40d2/druntime/src import path[4] = /builddir/build/BUILD/ldc-20110901git58d40d2/phobos/ Version-Release number of selected component (if applicable): $ rpm -qa ldc\* ldc-phobos-2-4.20110801git58d40d2.fc16.x86_64 ldc-2-4.20110801git58d40d2.fc16.x86_64 ldc-druntime-2-4.20110801git58d40d2.fc16.x86_64 ldc-phobos-devel-2-4.20110801git58d40d2.fc16.x86_64 ldc-druntime-devel-2-4.20110801git58d40d2.fc16.x86_64 How reproducible: always Steps to Reproduce: 1. Create the above helloworld.d file 2. Try to compile it with ldc2 3. Watch it fail Actual results: Presented above (fails) Expected results: A binary Additional info:
ok The main problem it is: - I can't upgrade ldc because fedora 16 provide llvm 2.9 and nt greater - I cant rebuild a package to fix it because i got a gcc regression: #843773 I am really sorry for this bug I try to fix it. Only thing i can said ldc works well with f17 and rawhide f18. Thanks to understanding