Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Feb 2006 17:50:06 GMT
From:      Marius Strobl <marius@alchemy.franken.de>
To:        freebsd-sparc64@FreeBSD.org
Subject:   Re: sparc64/89486: firefox and thunderbird is broken on sparc64
Message-ID:  <200602091750.k19Ho6rx001454@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR sparc64/89486; it has been noted by GNATS.

From: Marius Strobl <marius@alchemy.franken.de>
To: "David O'Brien" <obrien@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: sparc64/89486: firefox and thunderbird is broken on sparc64
Date: Thu, 9 Feb 2006 18:42:51 +0100

 On Fri, Jan 13, 2006 at 07:50:06AM +0000, Andrew Belashov wrote:
 >  
 >  I have fully working firefox, built from ports.
 >  
 >  How-To-Fix:
 >  
 >  Save attached patch or get it from NetBSD:
 >  http://cvsweb.netbsd.org/bsdweb.cgi/src/gnu/dist/binutils/bfd/elf64-sparc.c.diff?r1=1.3&r2=1.4&f=h&f=u
 >  
 >  --- contrib/binutils/bfd/elf64-sparc.c.orig	Thu Aug  5 08:31:26 2004
 >  +++ contrib/binutils/bfd/elf64-sparc.c	Sun Jan  1 19:00:33 2006
 >  @@ -1638,7 +1638,11 @@ sparc64_elf_adjust_dynamic_symbol (info,
 >   	      || h->root.type == bfd_link_hash_defweak)
 >   	  && (h->root.u.def.section->flags & SEC_CODE) != 0))
 >       {
 >  -      if (! elf_hash_table (info)->dynamic_sections_created)
 >  +      if (! info->shared
 >  +	  && (h->elf_link_hash_flags & ELF_LINK_HASH_DEF_DYNAMIC) == 0
 >  +	  && (h->elf_link_hash_flags & ELF_LINK_HASH_REF_DYNAMIC) == 0
 >  +	  && h->root.type != bfd_link_hash_undefweak
 >  +	  && h->root.type != bfd_link_hash_undefined)
 >   	{
 >   	  /* This case can occur if we saw a WPLT30 reloc in an input
 >                file, but none of the input files were dynamic objects.
 >  
 
 David,
 
 could you please import the above fix into FreeBSD in order to get
 Firefox and Thunderbird working? It's a backport of elf64-sparc.c
 rev. 1.101 (sourceware.org repository) to Binutils 2.15.
 
 Marius
 
 -- 
 This mail was scanned by AntiVir Milter.
 This product is licensed for non-commercial use.
 See www.antivir.de for details.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602091750.k19Ho6rx001454>