LDC build issues for PowerPC and kfreebsd-{i386,amd64} on Debian

Konstantinos Margaritis via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Tue Jul 15 03:25:54 PDT 2014


On Tue, 15 Jul 2014 10:13:31 +0300
Konstantinos Margaritis via digitalmars-d-ldc
<digitalmars-d-ldc at puremagic.com> wrote:
  
> Ok, I will try to get access to a kfreebsd-* system to try to figure
> it out.

Ok, I think I understand what's wrong here. Debian kfreeBSD-* ports
don't define __FreeBSD__ which means all those port-specific code is
never executed. I checked in some kfreebsd-* port wikis and found that
I should instead check for __FreeBSD_kernel__ instead of plain
__FreeBSD__. So I did that and the compile moved further, however when
building runtime I got this:

[ 12%] Generating src/core/bitop.o
/home/markos/ldc-0.13.0/bin/ldc2 --output-o -c
-I/home/markos/ldc-0.13.0/runtime/druntime/src
-I/home/markos/ldc-0.13.0/runtime/druntime/src/gc /home/markos/ldc-0.13.0/runtime/druntime/src/core/bitop.d
-of/home/markos/ldc-0.13.0/runtime/src/core/bitop.o -w -d -O3 -release
-disable-invariants Error: target 'x86_64-pc-kfreebsd-gnu' is not yet
supported

Now, if there is interest to support kfreebsd-* I'll go ahead and ask
some of its porters for help, if not, I only have as much time
available and I'd rather help the ports that I actually use (like
powerpc* and arm), and in that case, I'll just remove the port names
from the package's architecture list.

Regards

Konstantinos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-ldc/attachments/20140715/57f70b12/attachment.sig>


More information about the digitalmars-d-ldc mailing list