[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [csmith-dev] Generated code does not compile: undefined reference to `safe_rshift_func_uint16_t_u_s'

My pleasure! Thank you and the others for helping me out.

Shafiul Azam Chowdhury
PhD Student and Graduate Research Assistant
The University of Texas at Arlington


On Fri, Oct 2, 2015 at 6:02 PM, Eric Eide <eeide@cs.utah.edu> wrote:
Shafiul Azam <ishafiul@gmail.com> and Eric Eide <eeide@cs.utah.edu> write:

        Shafiul> Thanks Eric. The make failed. Then I installed m4 and ran make
        Shafiul> (did not ran configure again). That lead to incorrect build I
        Shafiul> guess.

        Eric> Thank you for the explanation!  Looking at the Csmith runtime
        Eric> Makefile, I now see how that situation would lead to an empty
        Eric> generated file.  I'll see if I can fix that.

This bad behavior --- leaving an emoty file around when m4 fails --- should be
fixed now in the master branch of the Csmith repository.  Thank you again,
Shafiul, for reporting the problem!


Eric Eide <eeide@cs.utah.edu>  .         University of Utah School of Computing
http://www.cs.utah.edu/~eeide/ . +1 (801) 585-5512 voice, +1 (801) 581-5843 FAX