View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006155GCC-XMLpublic2007-12-12 16:282015-03-26 11:59
ReporterALbert Mietus 
Assigned ToBrad King 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionsuspended 
PlatformOSOS Version
Summary0006155: Can't build (cmake fails) op Apple OS X darwin (ppc) [ Can't find host-ppc-darwin.c] /with WORKAROND .
DescriptionWhen building gcc-xml Version: CVS-HEAD 12/Dec/2007
 * cmake runs, finished but mentions (halfway, re-formatted):
              ...
          running /bin/sh "/Users/albert/src/gccXML/gccxml-src/GCC/config_cmake/gcc_platform.sh" \
                              "/Users/albert/src/gccXML/gccxml-SterAppel/GCC/config_cmake/gcc_platform.cmake" \
                   "/usr/bin/cmake" 2>&1
              CMake Error: Cannot find platform-specific source host-ppc-darwin.c.
          ...
  * There is no makefile generated!
Additional InformationThe file 'gcc/.../config/... host-ppc-darwin.c' does not exist.

As a more-or-less "dummy" file 'host-ppc64-darwin.c;t, mentioning it does nothing, I have symlinked to 'host-ppc-darwin.c'.
Now, cmake does its trick; a makefile is generated; and it is compiling now

Do not know whether is is a "real fix" (don't think so;-); a bug in gcc or a bug in a cmake-file. But hope this reports help to fix it.

Note: Running this on a Powerbook G4, OSX10.4.11 with an "old" Xcode version (gcc-4.0.0)
Assume the missing file (or wrong cmake-file) is the real problem


TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0009867)
ALbert Mietus (reporter)
2007-12-13 10:24

Yes, it compiles. And runs.

Today, also compiled the same source (without) the workarond on a intel-based mac. As expected; it works there. Runb both exe's on example.c. The resulting example.xml (intel // ppc) are the same.

So I thinks I can say the workarond is sound. The resulting tools works
(0010595)
ALbert Mietus (reporter)
2008-02-19 17:26

Today, This BUG is still present.

I have upgrade to the latest cmake (2.4-8) and latest cvs version of gccxml (19/02/2008)

Still, the workarond is needed. Hope this report helps to get this going.
(0038330)
Brad King (manager)
2015-03-26 11:59

As announced here:

 [ANNOUNCE] GCC-XML maintenance moving to Github
 http://thread.gmane.org/gmane.comp.compilers.gccxml/731 [^]
 http://public.kitware.com/pipermail/gccxml/2015-March/003206.html [^]

gccxml will no longer be developed by its original author, who will instead focus on CastXML:

 https://github.com/CastXML/CastXML#readme [^]

The original GCC-XML issue tracker is now closed. In order to facilitate ongoing maintenance by community participants, issues will now be tracked on the Github repository page:

 https://github.com/gccxml/gccxml/issues [^]

 Issue History
Date Modified Username Field Change
2007-12-12 16:28 ALbert Mietus New Issue
2007-12-13 10:24 ALbert Mietus Note Added: 0009867
2008-02-19 17:26 ALbert Mietus Note Added: 0010595
2015-03-26 11:59 Brad King Note Added: 0038330
2015-03-26 11:59 Brad King Status new => resolved
2015-03-26 11:59 Brad King Resolution open => suspended
2015-03-26 11:59 Brad King Assigned To => Brad King


Copyright © 2000 - 2018 MantisBT Team