Permalink
Commits on Jul 19, 2016
  1. Fix self-process identification for FreeBSD (#6314)

    josteink authored and janvorli committed Jul 19, 2016
    FreeBSD does not come with procfs enabled by default, and should use
    sysctl() for this purpose.
    
    While it has similarities with NetBSD's implementation, there are a
    few subtle differences, which justifies leaving this implementation
    under its own guard.
    
    It's also worth noting that on FreeBSD sysctl.h MUST be present, which
    is unlike NetBSD. Therefore the HAVE_SYS_SYSCTL_H define is not
    checked for or used.
    
    This commit fixes #6184.
    
    This commit is based on the following commit from core-setup:
    dotnet/core-setup@d5ce080
Commits on Jul 18, 2016
Commits on Jul 8, 2016
  1. Resolve Python2.7 when executable is not called 'python'.

    josteink committed Jul 7, 2016
Commits on Feb 13, 2016
  1. Make the build-process support rtags

    josteink committed Feb 13, 2016
    Rtags depends on cmake to export its build commands in order to index
    the codebase.
    
    Adding this flag makes cmake do that.
Commits on Jun 18, 2015
  1. Fix stack unwinding for FreeBSD.

    josteink committed Jun 15, 2015
    Fix error in stack unwinding on FreeBSD as discovered by @saper.
    
    This closes #1102 and #1113
Commits on Jun 7, 2015
Commits on May 28, 2015
  1. Improve .gitignore-file

    josteink committed May 24, 2015
    Currently all emacs-temp files are tracked.
    TAGS is for emacs' etags used to track symbols in code-files.
    Generated Makefiles from the build-process should also be ignored.
Commits on May 21, 2015
  1. CoreClr: Make tests run on FreeBSD and document how to run them.

    josteink committed May 21, 2015
    Not all platforms have bash in /bin/.
    
    Documentation added to the general FreeBSD build-instructions.
Commits on Apr 28, 2015
Commits on Apr 27, 2015
  1. Updated FreeBSD build-instructions.

    josteink committed Apr 27, 2015
    These instructions includes the new FreeBSD-specific changes introduced in
    dotnet/corefxlab#82
Commits on Apr 17, 2015
  1. Fix up final FPU-registers for FreeBSD x86_64.

    josteink committed Apr 10, 2015
    FreeBSD now builds without compilation errors. For FreeBSD and glory!
    
                    ,        ,
                   /(        )`
                   \ \___   / |
                   /- _  `-/  '
                  (/\/ \ \   /\
                  / /   | `    \
                  O O   ) /    |
                  `-^--'`<     '
                 (_.)  _  )   /
                  `.___/`    /
                    `-----' /
       <----.     __ / __   \
       <----|====O)))==) \) /====
       <----'    `--' `.__,' \
                    |        |
                     \       /       /\
                ______( (_  / \______/
              ,'  ,-----'   |
              `--{__________)
    
    This closes #594 (comment)
  2. CoreClr: Fix FreeBSD linking-issues.

    josteink committed Apr 17, 2015
    This fix brings the build almost up to 100% (from 35%), where it fails due to PIC-errors.
Commits on Apr 16, 2015
Commits on Apr 9, 2015
  1. Various FreeBSD fixes.

    josteink committed Apr 8, 2015
  2. Preliminary work on FPU/SSE-registers for FreeBSD x86_64.

    josteink committed Apr 9, 2015
    This partially addresses #594
Commits on Apr 7, 2015
Commits on Apr 5, 2015
  1. Make FreeBSD handle exceptions like Linux.

    josteink committed Apr 3, 2015
    Addresses #626
    .
Commits on Apr 3, 2015
  1. Fix configuration of ptrace on FreeBSD.

    josteink committed Apr 3, 2015
    This closes #625
  2. Detect clang35 on FreeBSD.

    josteink committed Apr 3, 2015
    clang-3.5 is required to build correctly, but is not detected on FreeBSD
    where it is aliased as clang35 and clang++35, not clang-3.5 and clang++-3.5.
    
    This closes #615
Commits on Mar 27, 2015
  1. Correctly set HAVE_BSD_REGS_T flag during configure.

    josteink committed Mar 27, 2015
    Fix BSD-regs detection. Struct name is 'reg' not 'regs'.
    
    This fixes a bunch of issues when trying to build on FreeBSD.
  2. Correctly set HAVE_BSD_REGS_T flag during configure.

    josteink committed Mar 27, 2015
    Currently the test sets a flag which is found nowhere else in the code.
    
        $ grep -R " BSD_REGS" * | wc -l
        0
    
    This fixes a bunch of issues when trying to build on FreeBSD.
Commits on Mar 26, 2015
  1. Fix ptrace-invocation on FreeBSD.

    josteink committed Mar 26, 2015
    Unlike in Linux[1] FreeBSD's ptrace does not use an enum[2].
    
    [1] http://linux.die.net/include/sys/ptrace.h
    [2] http://www.freebsd.org/cgi/man.cgi?query=ptrace
    
    This fixes compiler errors like this one:
    
        /home/josteink/build/coreclr/src/pal/src/arch/i386/context.cpp:305:21: error: use of undeclared identifier '__ptrace_request'
                if (ptrace((__ptrace_request)PT_GETREGS, processId, (caddr_t) &ptrace_registers, 0) == -1)
  2. Fix missing RuneLocale on FreeBSD.

    josteink committed Mar 26, 2015
    Without this patch the build breaks with errors like this:
    
        /usr/include/xlocale/_ctype.h:52:1: error: unknown type name '_RuneLocale'
        _RuneLocale     *__runes_for_locale(locale_t, int*);
        ^
  3. Define PAL_CS_NATIVE_DATA_SIZE for FreeBSD x86_64

    josteink committed Mar 26, 2015
    Based on patch from @Aesthetikx which uses the program
    [defined here](#60 (comment))
    to determine the correct native size.
Commits on Mar 25, 2015
  1. Fix debug-pal on FreeBSD.

    josteink committed Mar 25, 2015
    This define is required to enable getline() on FreeBSD.