devel/gettext build fails

Beeblebrox zaphod at berentweb.com
Fri Mar 15 07:43:37 UTC 2013


As discussed in this thread;
http://freebsd.1045724.n5.nabble.com/CURRENT-lang-gcc-fails-to-build-on-CURRENT-with-error-configure-error-no-usable-dependency-style-foud-td5793999.html#a5794760
I recently had to switch gnu-grep and to re-build world.

Since then I have been having some other strange compile problems
(http://freebsd.1045724.n5.nabble.com/template/NamlServlet.jtp?macro=reply&node=5795763),
so I thought I would re-build some of the base ports which the erroneous
situation depends on. One of these ports is devel/gettext. I have an
installed version built previously but trying to compile now breaks with:

libtool: link: c++  -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o 
.libs/lib-asprintf.o .libs/autosprintf.o    -L/usr/local/lib -L/usr/lib
-lstdc++ -lm -lc -lgcc -lgcc_s /usr/lib/crtendS.o /usr/lib/crtn.o  -O2
-march=k8   -Wl,-soname -Wl,libasprintf.so.0 -o .libs/libasprintf.so.0
/usr/bin/ld: .libs/autosprintf.o: relocation R_X86_64_32 against `a local
symbol' can not be used when making a shared object; recompile with -fPIC
.libs/autosprintf.o: could not read symbols: Bad value
c++: error: linker command failed with exit code 1 (use -v to see
invocation)
libtool: link: cc -shared  -fPIC -DPIC  .libs/lib-asprintf.o
.libs/autosprintf.o   -L/usr/local/lib  -O2 -march=k8   -Wl,-soname
-Wl,libasprintf.so.0 -o .libs/libasprintf.so.0
/usr/bin/ld: .libs/autosprintf.o: relocation R_X86_64_32 against `a local
symbol' can not be used when making a shared object; recompile with -fPIC
.libs/autosprintf.o: could not read symbols: Bad value
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [libasprintf.la] Error code 1
Stop in
/usr/obj/asp/ports/devel/gettext/work/gettext-0.18.1.1/gettext-runtime/libasprintf.
*** [all] Error code 1
Stop in
/usr/obj/asp/ports/devel/gettext/work/gettext-0.18.1.1/gettext-runtime/libasprintf.
*** [all-recursive] Error code 1
Stop in
/usr/obj/asp/ports/devel/gettext/work/gettext-0.18.1.1/gettext-runtime.
*** [all] Error code 1
Stop in
/usr/obj/asp/ports/devel/gettext/work/gettext-0.18.1.1/gettext-runtime.
*** [all-recursive] Error code 1
Stop in /usr/obj/asp/ports/devel/gettext/work/gettext-0.18.1.1.
*** [do-build] Error code 1

ccache disabled, make_jobs disabled, same result with both clang and gcc46
Host: 10-Current-amd64-r248212



--
View this message in context: http://freebsd.1045724.n5.nabble.com/devel-gettext-build-fails-tp5795794.html
Sent from the freebsd-ports mailing list archive at Nabble.com.


More information about the freebsd-ports mailing list