FS#47840 - [liblphobos] missing gccbuiltins_x86.di file
Attached to Project:
Community Packages
Opened by Iakh Takh (Iakh) - Thursday, 21 January 2016, 01:57 GMT
Last edited by Mihails Strasuns (Dicebot) - Friday, 22 January 2016, 11:58 GMT
Opened by Iakh Takh (Iakh) - Thursday, 21 January 2016, 01:57 GMT
Last edited by Mihails Strasuns (Dicebot) - Friday, 22 January 2016, 11:58 GMT
|
Details
Description:
I can't do this import in my Dlang/ldc project import ldc.gccbuiltins_x86; Additional info: $ pacman -Qi liblphobos Name : liblphobos Version : 1:0.16.1-2 Compiler output: Error: module gccbuiltins_x86 is in file 'ldc/gccbuiltins_x86.d' which cannot be read import path[0] = /usr/include/dlang/ldc/ldc import path[1] = /usr/include/dlang/ldc import path[2] = . ldc failed with exit code 1. Steps to reproduce: pacman -S ldc dub # install ldc (and as its dependency liblphobos) and helper package "dub" cd <workspace> # go to your workspace dub init test-ldc # create new project cd test-ldc dub build --compiler=ldc # it should be OK. Just test. insert this text as the first line of the $PWD/source/app.d: import ldc.gccbuiltins_x86; dub build --compiler=ldc # error ls /usr/include/dlang/ldc/ldc # there is no gccbuiltins_x86 file Upstream forum discussion: xqbwajhmotsycqqdizjv@forum.dlang.org"> http://forum.dlang.org/thread/xqbwajhmotsycqqdizjv@forum.dlang.org |
This task depends upon
It is supposed to be generated during the LDC build process (${CMAKE_BINARY_DIR}/runtime/gccbuiltins_x86.di) and then copied into ${INCLUDE_INSTALL_DIR}/ldc as part of the installation phase.
But now i could "import gccbuiltins_x86;"
Looks like this file
/usr/include/dlang/ldc/gccbuiltins_x86.di
should be here
/usr/include/dlang/ldc/ldc/gccbuiltins_x86.di