[Bug 211327] irc/hexchat does not build when lang/gcc is installed
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Jul 24 07:08:43 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211327
Bug ID: 211327
Summary: irc/hexchat does not build when lang/gcc is installed
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: kib at FreeBSD.org
CC: gerald at FreeBSD.org, pkubaj at anongoth.pl
CC: gerald at FreeBSD.org, pkubaj at anongoth.pl
The hexchat configure scripts seems to prefer 'gcc' over ${CC} for compiler.
As result, the build is broken:
libtool: link: gcc -fstack-protector -pie -Wl,-z -Wl,relro -Wl,-z -Wl,now -o
hex
chat hexchat-ascii.o hexchat-banlist.o hexchat-chanlist.o hexchat-chanview.o
hex
chat-custom-list.o hexchat-dccgui.o hexchat-editlist.o hexchat-fe-gtk.o
hexchat-
fkeys.o hexchat-gtkutil.o hexchat-ignoregui.o hexchat-joind.o hexchat-menu.o
hex
chat-maingui.o hexchat-notifygui.o notifications/hexchat-notification-dummy.o
he
xchat-palette.o hexchat-pixmaps.o hexchat-plugin-tray.o hexchat-plugingui.o
hexc
hat-plugin-notification.o hexchat-rawlog.o hexchat-servlistgui.o
hexchat-setup.o
hexchat-sexy-iso-codes.o hexchat-sexy-spell-entry.o hexchat-textgui.o
hexchat-u
rlgrab.o hexchat-userlistgui.o hexchat-xtext.o hexchat-resources.o
-Wl,--export-dynamic -pthread -pthread ../../src/common/libhexchatcommon.a
-L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo
-lpthread -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype
-lgmodule-2.0 -lgio-2.0 -lcrypto -lssl -lproxy -ldbus-glib-1 -ldbus-1
-lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lX11 -lintl -pthread
/usr/local/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 against `_DYNAMIC'
can not be used when making a shared object; recompile with -fPIC
/usr/lib/crt1.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
gmake[4]: *** [Makefile:584: hexchat] Error 1
I am not sure where to properly put the blame. The cause of the failure is the
use of crt1.o with -pie, Scrt1.o must be used instead for PIE binaries. I.e. it
might be lang/gcc bug of not fixing spec, or it might be libtool use with
non-system compiler.
Temporary removing gcc from the path allowed the port to build.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list