Re: GDC 5.1.0 fails building.

2017-04-23 Thread Jens Bauer via D.gnu
On Friday, 21 April 2017 at 06:05:52 UTC, Jens Bauer wrote: On Thursday, 20 April 2017 at 20:25:21 UTC, Johannes Pfau wrote: My attempt to build 5.2.0 also failed, but with a more fatal error: /Users/build/toolchain/Source/gcc-5.2.0+gdc/libgcc/libgcc2.c: In function '__muldc3': /Users/build/

Re: GDC 5.1.0 fails building.

2017-04-20 Thread Jens Bauer via D.gnu
On Thursday, 20 April 2017 at 20:25:21 UTC, Johannes Pfau wrote: My attempt to build 5.2.0 also failed, but with a more fatal error: /Users/build/toolchain/Source/gcc-5.2.0+gdc/libgcc/libgcc2.c: In function '__muldc3': /Users/build/toolchain/Source/gcc-5.2.0+gdc/libgcc/libgcc2.c:1992:1: inter

Re: GDC 5.1.0 fails building.

2017-04-20 Thread Jens Bauer via D.gnu
On Thursday, 20 April 2017 at 07:06:40 UTC, Iain Buclaw wrote: On 20 April 2017 at 08:05, Jens Bauer via D.gnu wrote: It turns out that GDC-5 will not build ... register_main_translation_unit is not a member of gcc_debug_hooks. Note: I'm now attempting to build GDC-5.2.0. My attem

GDC 5.1.0 fails building.

2017-04-19 Thread Jens Bauer via D.gnu
I just started building GDC-5, so I figured I'd use GCC-5.1.0 (for easy transition from 4.9). It turns out that GDC-5 will not build; the file ... gcc/d/d-lang.cc ... fails on this line ... 3c59416a gcc/d/d-lang.cc 2016-10-29 00:51:04 +0200 1517) debug_hooks->register_main_translation_

Re: (Probably trivial) arm-none-eabi-gdc building problem

2015-06-05 Thread Jens Bauer via D.gnu
On Saturday, 30 May 2015 at 16:55:14 UTC, denizzzka wrote: Hi! {snip} /home/denizzz/dembed/arm-none-eabi-gdc/result/arm-none-eabi/sys-include checking for suffix of object files... configure: error: in `/home/denizzz/dembed/arm-none-eabi-gdc/gcc-build/arm-none-eabi/libgcc': configure: error: can

Re: -ffreestanding option

2015-05-06 Thread Jens Bauer via D.gnu
On Tuesday, 5 May 2015 at 17:51:51 UTC, Johannes Pfau wrote: I'll implement fno-rtti next weekend. We can think about more fine-grained solutions in the future but fno-rtti should be a good start. This is definitely a good move. :) I'm not yet ready to look at RTTI; I've not gotten through l

Re: Build script for a cross compiler

2015-05-03 Thread Jens Bauer via D.gnu
On Sunday, 3 May 2015 at 10:38:14 UTC, Jens Bauer wrote: On Sunday, 3 May 2015 at 05:51:55 UTC, Jens Bauer wrote: If you like, please test and report. I tried on Cubian (Debian variant for CubieBoard2), but {snip} make fails {snip} I've polished my own build-script/build-instructions. So far

Re: Build script for a cross compiler

2015-05-03 Thread Jens Bauer via D.gnu
On Sunday, 3 May 2015 at 05:51:55 UTC, Jens Bauer wrote: On Tuesday, 28 April 2015 at 05:00:50 UTC, Timo Sintonen wrote: People have been asking a build script Here is one I have written. This was originally ment to build gdc in a virtual machine but I did not get this to work in a vm. There wer

Re: Build script for a cross compiler

2015-05-02 Thread Jens Bauer via D.gnu
On Tuesday, 28 April 2015 at 05:00:50 UTC, Timo Sintonen wrote: People have been asking a build script Here is one I have written. This was originally ment to build gdc in a virtual machine but I did not get this to work in a vm. There were always missing something or some issues like 32/64 bit

Re: Removing RTTI from binaries

2015-05-01 Thread Jens Bauer via D.gnu
Am Thu, 30 Apr 2015 14:27:15 + schrieb "Jens Bauer" : I was wondering... Would it be possible to make selective TypeInfo ? -Eg. Only add TypeInfo for those things that really need it. {snip} On Thursday, 30 April 2015 at 19:24:14 UTC, Johannes Pfau wrote: I think one place where you reall

Re: Removing RTTI from binaries

2015-04-30 Thread Jens Bauer via D.gnu
On Thursday, 30 April 2015 at 14:27:17 UTC, Jens Bauer wrote: {snip} or make a 32-bit uniqueID (perhaps even a 16-bit UID). Note: The most frequently used typeinfo should have the lowest ID numbers, because on small devices, loading a small value into a register, will use very little space.

Re: Removing RTTI from binaries

2015-04-30 Thread Jens Bauer via D.gnu
On Friday, 16 January 2015 at 18:37:28 UTC, Johannes Pfau wrote: Am Thu, 15 Jan 2015 23:08:57 -0600 schrieb "Orvid King via D.gnu" : TypeInfo is generated at declaration time. At that point you can't even know if a struct will be allocated on the heap at some point. I was wondering... Would it

Re: Problem with extern function declarations

2015-04-22 Thread Jens Bauer via D.gnu
On Tuesday, 21 April 2015 at 14:10:36 UTC, Johannes Pfau wrote: Am Tue, 21 Apr 2015 11:42:40 + schrieb "Jens Bauer" : I'm still hoping for a solution to this. Should I file a bug-report ? Didn't this[1] commit fix the problem? I can confirm that the problem is fixed. -And the code gener

Re: Problem with extern function declarations

2015-04-21 Thread Jens Bauer via D.gnu
On Tuesday, 21 April 2015 at 14:10:36 UTC, Johannes Pfau wrote: Am Tue, 21 Apr 2015 11:42:40 + schrieb "Jens Bauer" : I'm still hoping for a solution to this. Should I file a bug-report ? Didn't this[1] commit fix the problem? My mistake. I had my git repository stuck on a 2 week old

Re: Problem with extern function declarations

2015-04-21 Thread Jens Bauer via D.gnu
On Tuesday, 7 April 2015 at 19:31:25 UTC, Johannes Pfau wrote: The recently added weak attribute shows a small difference in behavior compared to c {snip} __attribute__((weak)) int test(); (nil) 0 @attribute("weak") void test(); => unresolved symbol test The problem

Re: [Bug 126] Add support for attribute to mark data as volatile.

2015-04-06 Thread Jens Bauer via D.gnu
On Sunday, 5 April 2015 at 15:58:17 UTC, Iain Buclaw wrote: --- Comment #24 from Iain Buclaw --- Compiler reordering should never mess up order of program logic to variables/objects where changes are considered 'observable' (eg, on shared data). Most re-ordering/memoization happens on 'non-o

Re: compiling multilib for arm cortex

2015-04-04 Thread Jens Bauer via D.gnu
On Sunday, 18 January 2015 at 18:15:32 UTC, Timo Sintonen wrote: MULTILIB_OPTIONS += mcpu=cortex-m0/mcpu=cortex-m3/mcpu=cortex-m4 mfloat-abi=hard mfpu=fpv4-sp-d16 shouldn't fpv4 be fpuv4 =? For comparison / ideas, try my modification; I took a launchpad t-arm-elf and added arm7tdmi: curl