Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Nov 2014 14:16:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 195500] New: www/webkit-gtk3 : allow building with GNU binutils installed
Message-ID:  <bug-195500-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195500

            Bug ID: 195500
           Summary: www/webkit-gtk3 : allow building with GNU binutils
                    installed
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome@FreeBSD.org
          Reporter: cmt@burggraben.net
          Assignee: gnome@FreeBSD.org
             Flags: maintainer-feedback?(gnome@FreeBSD.org)

Created attachment 149988
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=149988&action=edit
make sure base system's ar is used

Building webkit-gtk3 with devel/binutils installed fails:

  CXXLD    libWTF.la
  CXXLD    Programs/LLIntOffsetsExtractor
/usr/bin/ld:./.libs/libWTF.a: file format not recognized; treating as linker
scr
/usr/bin/ld:./.libs/libWTF.a:1: syntax error
c++: error: linker command failed with exit code 1 (use -v to see invocation)
GNUmakefile:40531: recipe for target 'Programs/LLIntOffsetsExtractor' failed
gmake[2]: *** [Programs/LLIntOffsetsExtractor] Error 1
gmake[2]: Leaving directory '/usr/ports/www/webkit-gtk3/work/webkitgtk-2.4.7'
*** Error code 1

This is because GNU ar may create files which are not usable by the base
system's ld. The same issue was observed in chromium a while back
(ports/182682).
Attached patch contains the same fix as I submitted for chromium back then -
pointing the build system to the base system's ar via CONFIGURE_ENV.

--- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> ---
Auto-assigned to maintainer gnome@FreeBSD.org

-- 
You are receiving this mail because:
You are the assignee for the bug.



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