#39052: clang-3.2: can't compile a program that writes to stderr on PPC -----------------------+-------------------------------- Reporter: takeshi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: clang-3.2 -----------------------+-------------------------------- I can't compile a simple program that writes to stderr on a PowerPC Mac running Leopard. I attach a log. {{{ $ cat foo.c #include <stdio.h> int main(void) { fprintf(stderr,"hello\n"); } $ clang-mp-3.2 foo.c ld: absolute address to symbol ___stderrp in a different linkage unit not supported in _main from /tmp/foo-WnmpXC.o collect2: ld returned 1 exit status clang: error: linker (via gcc) command failed with exit code 1 (use -v to see invocation) }}} -- Ticket URL: <https://trac.macports.org/ticket/39052> MacPorts <http://www.macports.org/> Ports system for OS X