dns-terror (fastresolve-2.10_5) core dump na FreeBSD 10.x
Miroslav Lachman
000.fbsd at quip.cz
Fri Feb 26 10:54:35 CET 2016
Dan Lukes wrote on 02/26/2016 04:47:
> No, misto
> make -V CC a cc -v
> jsem se mel ptat spis na
> make -V CXX a c++ -v
>
> Ale budu predpokladat, ze i to je clang a to stejnej co u me.
Ano, je to clang
root na 10_2_amd64-default-debug:/usr/ports/dns/fastresolve # make -V CXX
c++
root na 10_2_amd64-default-debug:/usr/ports/dns/fastresolve # c++ -v
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
Target: x86_64-unknown-freebsd10.2
Thread model: posix
Selected GCC installation:
> Takze jina hypoteza - co optiony prekladu, kandidatem je zejmena
> optimalizace (-O) ...
>
> U me pri prekladu radka prekladajici dns-terror.cc vypada takhle:
>
>> c++ -DPACKAGE=\"fastresolve\" -DVERSION=\"2.10\" -DHAVE_FGETLN=1 -DHAVE_LIBZ=1 -DHAVE_LIBADNS=1 -I. -I. -pipe -O -g -Wall -fstack-protector -fno-strict-aliasing -I/usr/local/include -I/usr/local/include/db6 -c dns-terror.cc
>
> a u tebe ?
Par rozdilu tam je (i krome toho, ze ja mam db5 a ty db6, ale to v tom
asi roli nehraje)
Making all in dns-terror
c++ -DPACKAGE=\"fastresolve\" -DVERSION=\"2.10\" -DHAVE_FGETLN=1
-DHAVE_LIBZ=1 -DHAVE_LIBADNS=1 -I. -I. -pipe -g -fstack-protector
-fno-strict-aliasing -I/usr/local/include -I/usr/local/include/db5 -c
dns-terror.cc
In file included from dns-terror.cc:74:
./BoolString.h:59:3: warning: control reaches end of non-void function
[-Wreturn-type]
}
^
>> Takze me napada jedine zkusit to skutecne prelozit pomoci GCC i na 10.2.
>
> No to zkusit muzes, to je treba predefinovat promenne CC CXX v make na gcc
Zkusim ted do make.conf pridat USE_GCC=yes a uvidim, co to provede.
Mirek
More information about the Users-l
mailing list