Thread overview
Compile fails
Sep 27, 2014
Russel Winder
Sep 27, 2014
Trass3r
Sep 27, 2014
Russel Winder
Sep 27, 2014
kink
Sep 27, 2014
Russel Winder
Sep 29, 2014
Kai Nacke
Sep 29, 2014
Russel Winder
Oct 05, 2014
Russel Winder
Oct 06, 2014
Kai Nacke
Oct 06, 2014
Russel Winder
September 27, 2014
Just wondering if this is already known about:


[ 31%] Generating src/object_.o
[ 31%] Generating src/gc/gc.o
/home/Checkouts/Git/Git/LDC/runtime/druntime/src/gc/gc.d(2569): Error: function core.thread.thread_processGCMarks (scope IsMarked delegate(void* addr) isMarked) is not callable using argument types (int delegate(void* addr) nothrow)
runtime/CMakeFiles/druntime-ldc.dir/build.make:748: recipe for target 'runtime/src/gc/gc.o' failed
make[2]: *** [runtime/src/gc/gc.o] Error 1
CMakeFiles/Makefile2:297: recipe for target 'runtime/CMakeFiles/druntime-ldc.dir/all' failed
make[1]: *** [runtime/CMakeFiles/druntime-ldc.dir/all] Error 2
Makefile:147: recipe for target 'all' failed


-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder


September 27, 2014
Are the submodules in sync (git submodule update)?
September 27, 2014
I've had this error a few days ago, but I fortunately don't anymore. Use "git submodule update --recursive" to update LDC's druntime and Phobos.
September 27, 2014
On Sat, 2014-09-27 at 12:20 +0000, Trass3r via digitalmars-d-ldc wrote:
> Are the submodules in sync (git submodule update)?

They are. I always do a "git submodule status" and "git submodule update" if there are updates pending before starting a build.

-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder


September 27, 2014
On Sat, 2014-09-27 at 13:11 +0000, kink via digitalmars-d-ldc wrote:
> I've had this error a few days ago, but I fortunately don't anymore. Use "git submodule update --recursive" to update LDC's druntime and Phobos.

I had not been using "git submodule update --recursive", just "git submodule update" I tried adding the --recursive, but no difference. :-(
-- 
Russel. ============================================================================= Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder@ekiga.net 41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder


September 29, 2014
Hi Russel!

On Saturday, 27 September 2014 at 10:33:28 UTC, Russel Winder via digitalmars-d-ldc wrote:
> Just wondering if this is already known about:
>
>
> [ 31%] Generating src/object_.o
> [ 31%] Generating src/gc/gc.o
> /home/Checkouts/Git/Git/LDC/runtime/druntime/src/gc/gc.d(2569): Error: function core.thread.thread_processGCMarks (scope IsMarked delegate(void* addr) isMarked) is not callable using argument types (int delegate(void* addr) nothrow)
> runtime/CMakeFiles/druntime-ldc.dir/build.make:748: recipe for target 'runtime/src/gc/gc.o' failed
> make[2]: *** [runtime/src/gc/gc.o] Error 1
> CMakeFiles/Makefile2:297: recipe for target 'runtime/CMakeFiles/druntime-ldc.dir/all' failed
> make[1]: *** [runtime/CMakeFiles/druntime-ldc.dir/all] Error 2
> Makefile:147: recipe for target 'all' failed

Which platform do you use? There is a missing nothrow declaration, see pull request https://github.com/D-Programming-Language/druntime/pull/966.
I see failures e.g. on Linux/ARM but not on Linux/x64.

Regards,
Kai
September 29, 2014
Kai,

This is Debian Sid using LLVM 3.4. I will try 3.5 shortly. GCC is 4.9.1.

On 29/09/14 07:02, Kai Nacke via digitalmars-d-ldc wrote:
> Hi Russel!
> 
> On Saturday, 27 September 2014 at 10:33:28 UTC, Russel Winder via digitalmars-d-ldc wrote:
>> Just wondering if this is already known about:
>> 
>> 
>> [ 31%] Generating src/object_.o [ 31%] Generating src/gc/gc.o /home/Checkouts/Git/Git/LDC/runtime/druntime/src/gc/gc.d(2569): Error: function core.thread.thread_processGCMarks (scope IsMarked delegate(void* addr) isMarked) is not callable using argument types (int delegate(void* addr) nothrow) runtime/CMakeFiles/druntime-ldc.dir/build.make:748: recipe for target 'runtime/src/gc/gc.o' failed make[2]: *** [runtime/src/gc/gc.o] Error 1 CMakeFiles/Makefile2:297: recipe for target 'runtime/CMakeFiles/druntime-ldc.dir/all' failed make[1]: *** [runtime/CMakeFiles/druntime-ldc.dir/all] Error 2 Makefile:147: recipe for target 'all' failed
> 
> Which platform do you use? There is a missing nothrow declaration, see pull request https://github.com/D-Programming-Language/druntime/pull/966. I see failures e.g. on Linux/ARM but not on Linux/x64.
> 
> Regards, Kai


- --
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip:
sip:russel.winder@ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
October 05, 2014
I was continuing to get the same build error so thought I would delete my current build area and start again. Running the cmake command picked up LLVM-3.5 instead of 3.4 so I am clearly now not able to recreate the previous error. I am now though getting another problem:

…
Scanning dependencies of target gen_gccbuiltins
[ 16%] Building CXX object
CMakeFiles/gen_gccbuiltins.dir/utils/gen_gccbuiltins.cpp.o
Linking CXX executable bin/gen_gccbuiltins
/usr/bin/ld: cannot find -ledit
collect2: error: ld returned 1 exit status
CMakeFiles/gen_gccbuiltins.dir/build.make:180: recipe for target
'bin/gen_gccbuiltins' failed
make[2]: *** [bin/gen_gccbuiltins] Error 1
CMakeFiles/Makefile2:96: recipe for target
'CMakeFiles/gen_gccbuiltins.dir/all' failed
make[1]: *** [CMakeFiles/gen_gccbuiltins.dir/all] Error 2
Makefile:147: recipe for target 'all' failed
make: *** [all] Error 2

Hopefully all this is just a missing library…
- --
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip:
sip:russel.winder@ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
October 06, 2014
Hi Russel!

On Sunday, 5 October 2014 at 05:30:18 UTC, Russel Winder via digitalmars-d-ldc wrote:
> I was continuing to get the same build error so thought I would delete
> my current build area and start again. Running the cmake command
> picked up LLVM-3.5 instead of 3.4 so I am clearly now not able to
> recreate the previous error. I am now though getting another problem:
>...
>
> Hopefully all this is just a missing library…

Yes, libedit is missing. On Ubuntu, you have to install libedit2 and libedit-dev. I guess it is the same with Debian.

Regarding the previous error, I backported the @nogc changes from current development stream. (It's required for ARM.)

Regards,
Kai
October 06, 2014
Hi,

On 06/10/14 07:17, Kai Nacke via digitalmars-d-ldc wrote: […]
> Yes, libedit is missing. On Ubuntu, you have to install libedit2 and libedit-dev. I guess it is the same with Debian.

A few minutes ago (just before reading your email!)  I saw that libedit2 was installed but libedit-dev not, installed the latter and got a complete build. So the LDC CMake files need to encode this dependency but as yet do not?

> Regarding the previous error, I backported the @nogc changes from current development stream. (It's required for ARM.)

Having installed LLVM 3.5, LDC chooses it rather than 3.4, so this is no longer a worry for me. Those still on 3.4 will though be very happy :-)

- --
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip:
sip:russel.winder@ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel@winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder