When building x11/pixman on: FreeBSD g5.meroh.net 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r286631: Tue Aug 11 13:22:40 EDT 2015 jmmv@g5.meroh.net:/scratch/obj/home/jmmv/os/freebsd/base/head/sys/GENERIC64 powerpc I get the following: g5:~/os/freebsd/ports/x11/pixman/work/pixman-0.32.6/test> make CCLD prng-test cc: Internal error: Segmentation fault (program ld) Please submit a full bug report. See <URL:http://www.freebsd.org/support.html> for instructions. *** Error code 1 Stop. make: stopped in /home/jmmv/os/freebsd/ports/x11/pixman/work/pixman-0.32.6/test ld is: GNU ld 2.17.50 [FreeBSD] 2007-07-03 Copyright 2007 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. I have a coredump but it yields no useful information because I do not have debug symbols. Filling this bug preemptively; may be able to provide more details later.
I had the same problem. What I did is just build it with another gcc preferably 4.8+.
x11/pixman should be updated with USE_GCC for powerpc64 (probably powerpc, too).
Worked around in r399873