Bug 152555 - [patch] make devel/glib20 build on powerpc64
[patch] make devel/glib20 build on powerpc64
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: gnome
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-24 20:20 UTC by Andreas Tobler
Modified: 2010-11-24 21:10 UTC (History)
0 users

See Also:


Attachments
file.diff (704 bytes, patch)
2010-11-24 20:20 UTC, Andreas Tobler
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Tobler freebsd_committer 2010-11-24 20:20:09 UTC
Due to a flaw in binutils 2.15, function names can conflict with
ELF assembler directives on PPC64 systems. As a result, it is not possible
to have functions named things like 'text' and 'data'.
In glib-compile-schemas.c we have such a name.
See also ports/147699.

Fix: Attached patch fixes the build.

Patch attached with submission follows:
Comment 1 Gavin Atkinson freebsd_committer 2010-11-24 20:33:34 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-ports-bugs

Make this a ports bug - it looks like a patch providing a suitable workaround 
that can be included into the ports tree has been provided.  Although binutils 
2.17 is planned to be imported into 9.0, this patch will still be needed for 7.x 
and 8.x.
Comment 2 Edwin Groothuis freebsd_committer 2010-11-24 20:37:03 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 3 dfilter freebsd_committer 2010-11-24 21:06:16 UTC
kwm         2010-11-24 21:06:10 UTC

  FreeBSD ports repository

  Modified files:
    devel/glib20         Makefile 
  Added files:
    devel/glib20/files   extra-arch-powerpc64 
  Log:
  Due to a flaw in binutils 2.15, function names can conflict with
  ELF assembler directives on PPC64 systems. As a result, it is not possible
  to have functions named things like 'text' and 'data'.
  In glib-compile-schemas.c we have such a name.
  
  PR:             ports/152555
  Submitted by:   andreast@
  
  Revision  Changes    Path
  1.173     +4 -0      ports/devel/glib20/Makefile
  1.1       +23 -0     ports/devel/glib20/files/extra-arch-powerpc64 (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Koop Mast freebsd_committer 2010-11-24 21:06:27 UTC
State Changed
From-To: open->closed

Committed, Thanks!