Skip to content

x86 Linux build fails #55521

@t-mustafin

Description

@t-mustafin

x86 Linux build fails with message:

  /home/tmustafin/dotnet/runtime/src/coreclr/vm/i386/jithelp.S:314:21: error: cannot use more than one symbol in memory operand
      add eax, offset _GLOBAL_OFFSET_TABLE_+1
                      ^
  vm/wks/CMakeFiles/cee_wks_core.dir/build.make:3330: recipe for target 'vm/wks/CMakeFiles/cee_wks_core.dir/__/i386/jithelp.S.o' failed

Problem occures on

add eax, offset _GLOBAL_OFFSET_TABLE_+1 // (2b - 1b)
.
Build command:

sudo ./eng/common/cross/build-rootfs.sh x86 bionic
ROOTFS_DIR=`pwd`/.tools/rootfs/x86 ./build.sh --cross --clang9 --arch x86 --configuration Release --subset clr.runtime+clr.corelib+clr.iltools+clr.dactools+clr.jit /p:EnableSourceLink=false

cc @janvorli @jkotas @alpencolt @gbalykov

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions