[MacPorts] #36026: ld64 sometimes builds wrong which causes other software to fail to build
MacPorts
noreply at macports.org
Sun Sep 30 02:19:07 PDT 2012
#36026: ld64 sometimes builds wrong which causes other software to fail to build
-------------------------+------------------------
Reporter: jwhowse4@… | Owner: jeremyhu@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: ld64 |
-------------------------+------------------------
Comment (by vaccari@…):
I can well be mistaken, as I'm no expert here, but I thought the output of
command
{{{
sudo clang -E .... -o _muldi3_s.o ...
}}}
(full command in comment #91) should be a preprocessed source code,
despite its .o extrension, and that is the file I attached. The beginning
of that file looks like this
{{{
# 1 "libgcc2.c"
# 1 "libgcc2.c" 1
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 146 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "libgcc2.c" 2
# 28 "libgcc2.c"
# 1 "../../build/gcc/tconfig.h" 1
# 1 "../../build/gcc/auto-host.h" 1
# 7 "../../build/gcc/tconfig.h" 2
# 1 "../include/ansidecl.h" 1
# 9 "../../build/gcc/tconfig.h" 2
# 29 "libgcc2.c" 2
# 1 "../gcc/tsystem.h" 1
# 45 "../gcc/tsystem.h"
# 1 "/usr/bin/../lib/clang/4.1/include/stddef.h" 1 3 4
# 31 "/usr/bin/../lib/clang/4.1/include/stddef.h" 3 4
typedef __typeof__(((int*)0)-((int*)0)) ptrdiff_t;
typedef __typeof__(sizeof(int)) size_t;
typedef int wchar_t;
# 46 "../gcc/tsystem.h" 2
...
...
}}}
This file comes out with no difference on the broken and on the working
system.
--
Ticket URL: <https://trac.macports.org/ticket/36026#comment:94>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list