Summary: | games-mud/powwow-1.2.16: fails to build due to underlinking | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://tinderboxlogs.s3.amazonaws.com/tbamd64.excelsior.flameeyes.eu/games-mud%3Apowwow-1.2.16%3A20130131-225654.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 372079 |
Description
Diego Elio Pettenò (RETIRED)
2013-02-01 01:36:11 UTC
I cannot reproduce with gold, but afais the linker line is messed up (your ldflags don't apply to -ldl). x86_64-pc-linux-gnu-gcc -DPOWWOW_DIR=\"/usr/share/games/powwow\" -DPLUGIN_DIR=\"/usr/games/lib64/powwow\" -O2 -pipe -ggdb -march=native -ftracer -frecord-gcc-switches -rdynamic -ldl -Wl,-O1 -Wl,--as-needed -o powwow beam.o cmd.o log.o edit.o cmd2.o eval.o utils.o main.o tcp.o list.o map.o tty.o ptr.o -lncurses with this patch: --- Makefile.am +++ Makefile.am @@ -5,7 +5,7 @@ powwow_SOURCES = beam.c cmd.c log.c edit.c cmd2.c eval.c \ utils.c main.c tcp.c list.c map.c tty.c \ ptr.c -powwow_LDFLAGS = @dl_ldflags@ +powwow_LDADD = @dl_ldflags@ powwowdir = $(pkgincludedir) powwow_HEADERS = beam.h cmd.h log.h edit.h cmd2.h eval.h \ utils.h main.h tcp.h list.h map.h tty.h \ we get: x86_64-pc-linux-gnu-gcc -DPOWWOW_DIR=\"/usr/share/games/powwow\" -DPLUGIN_DIR=\"/usr/games/lib64/powwow\" -march=core2 -O2 -pipe -Wall -g -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o powwow beam.o cmd.o log.o edit.o cmd2.o eval.o utils.o main.o tcp.o list.o map.o tty.o ptr.o -rdynamic -ldl -lncurses could that possibly solve it? Looks like it should. + 18 Feb 2013; Julian Ospald <hasufell@gentoo.org> powwow-1.2.16.ebuild, + +files/powwow-1.2.16-underlinking.patch: + fix underlinking wrt #454928 |