The same error is describe here:
http://stackoverflow.com/questions/18459894/clang-stdlib-libc-leads-to-undefined-reference
How to fix this, if default build world with options WITHOUT_GCC and
WITHOUT_GNUCXX?
On 30.09.2013 23:10, Alexander Panyushkin wrote:
*make.conf*
.if ${.CURDIR:N*/po
*make.conf*
.if ${.CURDIR:N*/ports/graphics/poppler*} == ""
CFLAGS+= -O2 -pipe
CPPFLAGS+= -D_FORTIFY_SOURCE=2
USE_GCC=4.6
.endif
*portmaster poppler-glib*
CXXLD libpoppler-glib.la
c++: warning: argument unused during compilation: '-pthread'
c++: warning: argument unused during compilation: '-
On Sat, Sep 28, 2013 at 10:37:36PM +0300, Alexander Panyushkin wrote:
> *make.conf*
> # ### Build whith GCC 4.6
> #
> .if ${.CURDIR:N*/ports/graphics/poppler-glib*} == ""
> CFLAGS= -O2 -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe -Wformat
> -Wformat-security
Should u
*make.conf*
# ### Build whith GCC 4.6
#
.if ${.CURDIR:N*/ports/graphics/poppler-glib*} == ""
CFLAGS= -O2 -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe -Wformat
-Wformat-security
CPPFLAGS+= -D_FORTIFY_SOURCE=2
CXXFLAGS+=-rpath /usr/local/lib/gcc46
USE_GCC=4.6
CC=cc
CX
On Sat, Sep 28, 2013 at 09:52:10PM +0300, Alexander Panyushkin wrote:
> 28.09.2013 20:28, David Chisnall ??:
> > Yes, because libstdc++ is no longer part of the base system,
> Yes, but in system installed GCC 4.6.3, and libstdc++ is present
>
> pkg_info -L gcc-4.6.3 | grep libstdc
> /usr/l
28.09.2013 20:28, David Chisnall пишет:
Yes, because libstdc++ is no longer part of the base system,
Yes, but in system installed GCC 4.6.3, and libstdc++ is present
pkg_info -L gcc-4.6.3 | grep libstdc
/usr/local/share/gcc-4.6.3/python/libstdcxx/__init__.py
/usr/local/share/gcc-4.6.3/python/li
Yes, because libstdc++ is no longer part of the base system, yet you are trying
to build with a gcc that thinks it is. You need to tell it to link with
clang++, which ought to be the default unless something is overriding CXXLD
somewhere.
David
On 28 Sep 2013, at 18:25, Alexander Panyushkin
With GCC same error
===> Building for poppler-glib-0.22.2
gmake[1]: Вход в каталог
`/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/poppler'
CXXCairoFontEngine.lo
CXXCairoOutputDev.lo
CXXCairoRescaleBox.lo
CXXLD libpoppler-cairo.la
gmake[1]: Выход из каталога
`/usr/p
This looks like it's compiling C++ with clang and trying to link it with gcc.
Is there a CXXLD=g++ in there somewhere?
David
On 28 Sep 2013, at 15:23, Alexander Panyushkin wrote:
> Hi all
>
> After upgrade ports graphics/poppler-glib not build anymore.
>
>
> pkg_info -R poppler-glib-0.22.2