Bug 202284 - x11/pixman: Build crashes ld on powerpc64
Summary: x11/pixman: Build crashes ld on powerpc64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Only Me
Assignee: freebsd-x11 (Nobody)
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2015-08-13 02:10 UTC by Julio Merino,+1 347 694 0576,New York City
Modified: 2016-10-07 20:42 UTC (History)
3 users (show)

See Also:
vlad-fbsd: maintainer-feedback? (x11)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julio Merino,+1 347 694 0576,New York City freebsd_committer freebsd_triage 2015-08-13 02:10:04 UTC
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.
Comment 1 Roosevelt 2015-08-18 20:08:11 UTC
I had the same problem. What I did is just build it with another gcc preferably 4.8+.
Comment 2 Justin Hibbits freebsd_committer freebsd_triage 2016-06-11 16:31:03 UTC
x11/pixman should be updated with USE_GCC for powerpc64 (probably powerpc, too).
Comment 3 Justin Hibbits freebsd_committer freebsd_triage 2016-10-07 20:42:55 UTC
Worked around in r399873