Bug 152555

Summary: [patch] make devel/glib20 build on powerpc64
Product: Ports & Packages Reporter: Andreas Tobler <andreast>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Andreas Tobler freebsd_committer freebsd_triage 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 freebsd_triage 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 freebsd_triage 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 service freebsd_committer freebsd_triage 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 freebsd_triage 2010-11-24 21:06:27 UTC
State Changed
From-To: open->closed

Committed, Thanks!