Date: Sun, 24 Jul 2016 07:08:41 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 211327] irc/hexchat does not build when lang/gcc is installed Message-ID: <bug-211327-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211327 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@FreeBSD.org Reporter: kib@FreeBSD.org CC: gerald@FreeBSD.org, pkubaj@anongoth.pl CC: gerald@FreeBSD.org, pkubaj@anongoth.pl The hexchat configure scripts seems to prefer 'gcc' over ${CC} for compiler= .=20 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 -lc= airo -lpthread -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreety= pe -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 `_DYNAMI= C' 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. --=20 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-211327-13>