Coder Social home page Coder Social logo

Comments (2)

rui314 avatar rui314 commented on July 19, 2024

How do I reproduce the failure? I tried with alpine:edge docker image with --platform riscv64, but the test didn't fail.

from mold.

bl4ckb0ne avatar bl4ckb0ne commented on July 19, 2024

I tried to reproduce on my end with podman and --arch riscv64 and I get a riscv64-section-order crashes consistantly with both master and v2.31.0. riscv64-shared-abs-sym didnt fail as well.

215/339 Test #215: riscv64-section-order .......................***Failed    0.69 sec
++ dirname /tmp/mold/test/elf/section-order.sh
+ . /tmp/mold/test/elf/common.inc
++ export LC_ALL=C
++ LC_ALL=C
++ '[' -z riscv64 ']'
++ '[' -z '' ']'
++ TESTDIR=out/test/elf/riscv64
++ CC=cc
++ CXX=c++
++ GCC=gcc
++ GXX=g++
++ OBJDUMP=objdump
++ OBJCOPY=objcopy
++ STRIP=strip
++ QEMU=
++ '[' riscv64 = x86_64 -o riscv64 = i686 -o riscv64 = arm ']'
++ '[' riscv64 = aarch64 ']'
++ trap 'on_error $LINENO' ERR
++ trap on_exit EXIT
+++ basename /tmp/mold/test/elf/section-order.sh .sh
++ testname=section-order
++ echo -n 'Testing section-order ... '
Testing section-order ... ++ t=out/test/elf/riscv64/section-order
++ mkdir -p out/test/elf/riscv64/section-order
+ on_qemu
+ '[' '' '!=' '' ']'
+ grep -qw qemu /proc/cpuinfo
+ cat
+ cc -o out/test/elf/riscv64/section-order/a.o -c -xc -fno-PIC -
+ cc -B. -o out/test/elf/riscv64/section-order/exe1 out/test/elf/riscv64/section-order/a.o -no-pie '-Wl,--section-order==0x100000 PHDR =0x200000 .fn2 TEXT =0x300000 .fn1 DATA BSS RODATA'
+ out/test/elf/riscv64/section-order/exe1
+ grep -q Hello
++ on_error 20
++ code=1
++ echo 'command failed: 20: grep -q Hello'
command failed: 20: grep -q Hello
++ trap - EXIT
++ exit 1

The alpine riscv64 runs on real hardware (scaleway and milkv pioneer),

from mold.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.