https://bugs.kde.org/show_bug.cgi?id=433473

            Bug ID: 433473
           Summary: FreeBSD support, part 5
           Product: valgrind
           Version: unspecified
          Platform: Other
                OS: FreeBSD
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: drd
          Assignee: bart.vanassche+...@gmail.com
          Reporter: pjfl...@wanadoo.fr
  Target Milestone: ---

Created attachment 136077
  --> https://bugs.kde.org/attachment.cgi?id=136077&action=edit
DRD tests changes

Changes in the DRD tests directory. Here are the main things.

Makefile.am
New expecteds. I cleaned up the C++ tests that work OK with clang.
Made libdl (which does not exist on FreeBSD conditional)
Added a FreeBSD version of thread_name. In general this seems to be going a bit
against the DRD philosophy of not having platform specific tests.

Soumc C files wouldn't compile (missing headers).

There is a FreeBSD defect related to the use of
    pthread_attr_setstacksize(&attr, PTHREAD_STACK_MIN + 4096);
In all cases these have been made conditional

bar_bad* needs an expexted, like Solaris

circular_buffer was generating errors due to the global seed. So I moved the
call to rand into main and added the time to a new struct.

concurrent_close - increased the stack depth because FreeBSD start function is
in libc which increases the stack depth.

filters - make sure GNU sed is used. Need to make this a configure time
selection. Added some FreeBSD specific filters.

pth_detached3 - need to see if this can be made a bit more portable without the
#ifdef; required header change

std_list - added a guard to setlocale otherwise there were tons of hazards

swapcontext -WIP

There are a few new expecteds and modified expected where I need to change the
C files and hence the line numbers.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to