Skip to content

New release #3

@am11

Description

@am11

The Sysroot Release 20181213 Version 1 is using older kernel, which is breaking us ingesting SmartOS packages (such as zlib) in .NET, ever since we made this change: dotnet/arcade@4900886 (download dependencies from trunk instead of 2020Q1 repository). Luckily, we have older docker images persisisting in container repository for cross-building so it is not a blocker. :)

It would be nice if we get the new release with updated kernel and toolchain, so we don't run into errors like:

# bash on linux-x64

$ git clone https://github.com/dotnet/runtime --single-branch --depth 1; cd runtime

$ URN=mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-cross-illumos-20220813234406-f13d79e
$ docker run -v$(pwd):/runtime -e ROOTFS_DIR=/crossrootfs/x64 $URN \
    /runtime/build.sh clr -cross -os illumos -gcc

...
  [100%] Building CXX object Corehost.Static/CMakeFiles/singlefilehost.dir/runtime/src/native/corehost/corehost.cpp.o
  [100%] Linking CXX executable singlefilehost
  /crossrootfs/x64/bin/../lib/gcc/x86_64-sun-solaris2.10/8.4.0/../../../../x86_64-sun-solaris2.10/bin/ld: /crossrootfs/x64/lib/libz.so: undefined reference to `__stack_chk_fail@ILLUMOS_0.37'
  /crossrootfs/x64/bin/../lib/gcc/x86_64-sun-solaris2.10/8.4.0/../../../../x86_64-sun-solaris2.10/bin/ld: /crossrootfs/x64/lib/libz.so: undefined reference to `__stack_chk_guard@ILLUMOS_0.37'
  collect2: error: ld returned 1 exit status
  Corehost.Static/CMakeFiles/singlefilehost.dir/build.make:1858: recipe for target 'Corehost.Static/singlefilehost' failed
  make[2]: *** [Corehost.Static/singlefilehost] Error 1

(with older image; URN=mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-cross-illumos-20220531132048-f13d79e which was created using older zlib and mit-krb5 packages, the build succeeds)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions