https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84428

--- Comment #8 from Peter Rabbitson <ribasushi at leporine dot io> ---
On 03/29/2018 10:57 AM, marxin at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84428
> 
> --- Comment #7 from Martin Liška <marxin at gcc dot gnu.org> ---
> So I rewrote it to a shell script:
> 
> ...
> 
> I don't know the first 'cpanm -nv DBD::ODBC' in .yml file, but I guess it's
> install of perf module right? I should have that installed.

Correct this is installing the perl module DBD::ODBC ( which will 
install its dependency DBI ). This is the only way I know how to trigger 
the condition ( there obviously would be other ways, but this is what I 
know ).

> + make -f makefile.linux
> ../makefile.environ:12: ARCH is x86_64
> ../makefile.environ:27: ODBCMANAGER is unixODBC in /usr/lib/x86_64-linux-gnu
> ../makefile.environ:54: *** FBINCDIR is undefined.  Stop.
> + sudo make -f makefile.linux install
> ../makefile.environ:12: ARCH is x86_64
> ../makefile.environ:27: ODBCMANAGER is unixODBC in /usr/lib/x86_64-linux-gnu
> ../makefile.environ:54: *** FBINCDIR is undefined.  Stop.
> 

You need the firebird libs installed so that the odbc driver can link to 
them. This line:
https://github.com/ribasushi/gcc_asan_internal_fail/commit/191e08bab67#diff-354f30a63fb0907d4ad57269548329e3R20

Let me know if you run into more difficulties

Reply via email to