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:   maintainer-feedback requested: [Bug 195500] www/webkit-gtk3 : allow building with GNU binutils installed
Message-ID:  <bug-195500-6497-ZNeIR88RKv@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-195500-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-195500-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
cmt@burggraben.net has reassigned Bugzilla Automation <bugzilla@FreeBSD.org>'s
request for maintainer-feedback to gnome@FreeBSD.org:
Bug 195500: www/webkit-gtk3 : allow building with GNU binutils installed
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195500



--- Description ---
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



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