Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #316 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

can't compile Tango on Mac OS X and Linux PPC

Reported by: Carlos Assigned to: Gregor
Priority: blocker Milestone: 0.97 RC 1
Component: Core Functionality Version:
Keywords: Cc:

Description

rev 1860, gdc 0.23:

gdc -o gcc/threadsem.o -g -frelease -O2 -fversion=GC_Use_Alloc_MMap -fversion=GC_Use_Stack_Fixed -fversion=GC_Use_Data_Dyld -nostdinc -pipe -I../../..   \
-c gcc/threadsem.d
gcc/threadsem.d:36: module mach cannot read file 'std/c/mach/mach.d'

Change History

03/07/07 16:48:21 changed by sean

  • owner changed from sean to Gregor.

I think this was caused by the makefile changes from yesterday. Reassigning to GregorR.

03/07/07 18:49:03 changed by kris

  • milestone set to 0.96 Beta 2.

03/09/07 17:32:14 changed by Gregor

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in revision 1866.

03/09/07 19:26:15 changed by Carlos

  • status changed from closed to reopened.
  • resolution deleted.

Not yet:

ar: creating archive libgphobos.a
ranlib libgphobos.a
gcc  -g -O2  @LDFLAGS@ -o minimal  minimal.o  -lm  
powerpc-apple-darwin8-gcc-4.0.1: @LDFLAGS@: No such file or directory

03/14/07 21:20:25 changed by kris

  • milestone changed from 0.96 Beta 2 to 0.97 RC 1.

we have to delay this until next week

03/16/07 16:07:07 changed by sean

  • owner changed from Gregor to sean.
  • status changed from reopened to new.

I've added some definitions that should address this issue. Please verify and let me know if the problem still exists. Relevant changeset is [1917].

03/16/07 19:06:24 changed by Carlos

No progress here. Notice that the problem is that weird @LDFLAGS@ thing.

03/22/07 20:16:02 changed by Carlos

Ping. ETA on this?

03/23/07 17:55:15 changed by sean

  • owner changed from sean to Gregor.

I'm going to give this back to Gregor, since it appears to he an autoconf issue. All uses of LDFLAGS that I can find look okay given my limited knowledge of how the whole procedure works.

03/24/07 00:39:55 changed by Carlos

  • summary changed from can't compile Tango on Mac OS X to can't compile Tango on Mac OS X and Linux PPC.

Now that #308 is fixed, this also happens with Linux PPC.

03/27/07 08:55:06 changed by Carlos

What are those @ supposed to do, anyway? Is that syntax correct? Are they supposed to be something else?

03/27/07 11:31:39 changed by sean

That syntax is used in the configure files and such, but I don't know what it means.

03/27/07 12:34:18 changed by larsivi

I believe @foo@ are substituted by configure for something specific, typically something decided by the configure process.

03/27/07 21:38:47 changed by Carlos

I just tried a number of combinations of setting LDFLAGS before calling build-gdc.sh, but none worked.

03/28/07 20:19:34 changed by Gregor

  • status changed from new to assigned.

@LDFLAGS@ in a Makefile.in is replaced when configure runs with the proper LDFLAGS. This should not be happening, but I have no OS X system to reproduce this on. I'm trying to find one.

03/29/07 01:22:17 changed by Carlos

But like I said, it also happens on Ubuntu Linux running on PPC, so it's not Mac only.

04/04/07 08:35:40 changed by Carlos

  • status changed from assigned to closed.
  • resolution set to fixed.

While I haven't tested on Linux yet, this is fixed on Mac thanks to [1991]. I'm confident it'll be fine on Linux.