[Bug 195500] New: www/webkit-gtk3 : allow building with GNU binutils installed

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 29 14:16:56 UTC 2014


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 at FreeBSD.org
          Reporter: cmt at burggraben.net
          Assignee: gnome at FreeBSD.org
             Flags: maintainer-feedback?(gnome at 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 at FreeBSD.org> ---
Auto-assigned to maintainer gnome at FreeBSD.org

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


More information about the freebsd-ports-bugs mailing list