www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ldc - build error src/ldc/eh.o

reply "Stefan" <stefan hertenberger.bayern> writes:
Hello,

i get the following error while building git master on archlinux
x86_64.

llvm = 3.6

[stefan archbox build]$ make
[  0%] Built target impcnvgen
[  0%] Built target idgen
[ 16%] Built target LDCShared
[ 16%] Built target gen_gccbuiltins
[ 18%] Built target ldc2
[ 18%] Built target ldmd2
[ 18%] Generating src/ldc/eh.o
Stored value type does not match pointer operand type!
    store i8* %2, %core.stdc.stdarg.__va_list_tag** %args
   %core.stdc.stdarg.__va_list_tag*LLVM ERROR: Broken function
found, compilation aborted!
runtime/CMakeFiles/druntime-ldc.dir/build.make:840: die Regel für
Ziel „runtime/src/ldc/eh.o“ scheiterte
make[2]: *** [runtime/src/ldc/eh.o] Fehler 1
CMakeFiles/Makefile2:301: die Regel für Ziel
„runtime/CMakeFiles/druntime-ldc.dir/all“ scheiterte
make[1]: *** [runtime/CMakeFiles/druntime-ldc.dir/all] Fehler 2
Makefile:146: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
Apr 29 2015
parent reply David Nadlinger via digitalmars-d-ldc <digitalmars-d-ldc puremagic.com> writes:
Are you sure you updated the druntime/Phobos submodules correctly?
Check with "git status" just to be sure.

 — David

On Wed, Apr 29, 2015 at 7:35 PM, Stefan via digitalmars-d-ldc
<digitalmars-d-ldc puremagic.com> wrote:
 Hello,

 i get the following error while building git master on archlinux
 x86_64.

 llvm = 3.6

 [stefan archbox build]$ make
 [  0%] Built target impcnvgen
 [  0%] Built target idgen
 [ 16%] Built target LDCShared
 [ 16%] Built target gen_gccbuiltins
 [ 18%] Built target ldc2
 [ 18%] Built target ldmd2
 [ 18%] Generating src/ldc/eh.o
 Stored value type does not match pointer operand type!
    store i8* %2, %core.stdc.stdarg.__va_list_tag** %args
   %core.stdc.stdarg.__va_list_tag*LLVM ERROR: Broken function
 found, compilation aborted!
 runtime/CMakeFiles/druntime-ldc.dir/build.make:840: die Regel für
 Ziel „runtime/src/ldc/eh.o“ scheiterte
 make[2]: *** [runtime/src/ldc/eh.o] Fehler 1
 CMakeFiles/Makefile2:301: die Regel für Ziel
 „runtime/CMakeFiles/druntime-ldc.dir/all“ scheiterte
 make[1]: *** [runtime/CMakeFiles/druntime-ldc.dir/all] Fehler 2
 Makefile:146: die Regel für Ziel „all“ scheiterte
 make: *** [all] Fehler 2
Apr 29 2015
parent "Stefan" <stefan hertenberger.bayern> writes:
You are right, my bad, sorry for the noise!

Thank you!

On Wednesday, 29 April 2015 at 17:53:00 UTC, David Nadlinger 
wrote:
 Are you sure you updated the druntime/Phobos submodules 
 correctly?
 Check with "git status" just to be sure.

  — David

 On Wed, Apr 29, 2015 at 7:35 PM, Stefan via digitalmars-d-ldc
 <digitalmars-d-ldc puremagic.com> wrote:
 Hello,

 i get the following error while building git master on 
 archlinux
 x86_64.

 llvm = 3.6

 [stefan archbox build]$ make
 [  0%] Built target impcnvgen
 [  0%] Built target idgen
 [ 16%] Built target LDCShared
 [ 16%] Built target gen_gccbuiltins
 [ 18%] Built target ldc2
 [ 18%] Built target ldmd2
 [ 18%] Generating src/ldc/eh.o
 Stored value type does not match pointer operand type!
    store i8* %2, %core.stdc.stdarg.__va_list_tag** %args
   %core.stdc.stdarg.__va_list_tag*LLVM ERROR: Broken function
 found, compilation aborted!
 runtime/CMakeFiles/druntime-ldc.dir/build.make:840: die Regel 
 für
 Ziel „runtime/src/ldc/eh.o“ scheiterte
 make[2]: *** [runtime/src/ldc/eh.o] Fehler 1
 CMakeFiles/Makefile2:301: die Regel für Ziel
 „runtime/CMakeFiles/druntime-ldc.dir/all“ scheiterte
 make[1]: *** [runtime/CMakeFiles/druntime-ldc.dir/all] Fehler 2
 Makefile:146: die Regel für Ziel „all“ scheiterte
 make: *** [all] Fehler 2
Apr 29 2015