Coder Social home page Coder Social logo

Comments (19)

rui314 avatar rui314 commented on July 18, 2024 2

@Logarithmus Are you ready for 0.9.2?

from mold.

rui314 avatar rui314 commented on July 18, 2024 1

Sure. I need to build Gentoo packages to make sure that there's no regression. Please allow me a day or two.

from mold.

rui314 avatar rui314 commented on July 18, 2024

I created a new branch for 0.9.2 and cherrypick only changes that matters to you. Could you confirm that the following branch contains all changes that you need? If it looks OK, I'll tag it as v0.9.2.

https://github.com/rui314/mold/commits/release/0.9.2

from mold.

Logarithmus avatar Logarithmus commented on July 18, 2024

@rui314 yesterday I've discovered that multiple tests fail (about 10). So today I'd like to take a record of specific tests which fail and 'll create a PR trying to fix those tests. The package can't be accepted with failing tests.
So please don't create a tag yet.

from mold.

rui314 avatar rui314 commented on July 18, 2024

Got it. For me all tests pass and so do on GitHub Actions, so I wonder what these tests are.

from mold.

Logarithmus avatar Logarithmus commented on July 18, 2024

An issue to track failing tests: #67

from mold.

Logarithmus avatar Logarithmus commented on July 18, 2024

I created a new branch for 0.9.2 and cherrypick only changes that matters to you. Could you confirm that the following branch contains all changes that you need? If it looks OK, I'll tag it as v0.9.2.

https://github.com/rui314/mold/commits/release/0.9.2

Please, include test fixes for Void into mold/0.9.2 and tag it.

from mold.

Logarithmus avatar Logarithmus commented on July 18, 2024

@rui314 UPD 3 tests still fail on my machine, namely:

  • copyrel-protected
  • ifunc-dso
  • run
    I'd like to investigate them before you make a release.

from mold.

rui314 avatar rui314 commented on July 18, 2024

I updated https://github.com/rui314/mold/tree/release/0.9.2 branch.

Could you run each test command with bash -x and share its output?

from mold.

Logarithmus avatar Logarithmus commented on July 18, 2024

@rui314

~/Programming/C++/mold fix-tests-again !5 ?1 ❯ bash -x fails/copyrel-protected.sh 
+ set -e
++ dirname fails/copyrel-protected.sh
+ cd fails
++ basename -s .sh fails/copyrel-protected.sh
+ echo -n 'Testing copyrel-protected ... '
Testing copyrel-protected ... ++ pwd
++ basename -s .sh fails/copyrel-protected.sh
+ t=/home/artur/Programming/C++/mold/fails/tmp/copyrel-protected
+ mkdir -p /home/artur/Programming/C++/mold/fails/tmp/copyrel-protected
+ cat
+ cc -o /home/artur/Programming/C++/mold/fails/tmp/copyrel-protected/a.o -c -xc -fno-PIE -
+ cat
+ cc -shared -o /home/artur/Programming/C++/mold/fails/tmp/copyrel-protected/b.so -xc -
++ pwd
+ clang -fuse-ld=/home/artur/Programming/C++/mold/fails/../mold /home/artur/Programming/C++/mold/fails/tmp/copyrel-protected/a.o /home/artur/Programming/C++/mold/fails/tmp/copyrel-protected/b.so -o /home/artur/Programming/C++/mold/fails/tmp/copyrel-protected/exe
+ false

The resulting executable in ifunc-dso outputs nothing instead of Hello world.

~/Programming/C++/mold fix-tests-again !5 ?1 ❯ bash -x fails/ifunc-dso.sh        
+ set -e
++ dirname fails/ifunc-dso.sh
+ cd fails
++ basename -s .sh fails/ifunc-dso.sh
+ echo -n 'Testing ifunc-dso ... '
Testing ifunc-dso ... ++ pwd
++ basename -s .sh fails/ifunc-dso.sh
+ t=/home/artur/Programming/C++/mold/fails/tmp/ifunc-dso
+ mkdir -p /home/artur/Programming/C++/mold/fails/tmp/ifunc-dso
+ cat
+ cc -o /home/artur/Programming/C++/mold/fails/tmp/ifunc-dso/a.o -c -x assembler -
+ cat
+ cc -shared -fPIC -o /home/artur/Programming/C++/mold/fails/tmp/ifunc-dso/b.so -x assembler -
++ pwd
+ clang -fuse-ld=/home/artur/Programming/C++/mold/fails/../mold -o /home/artur/Programming/C++/mold/fails/tmp/ifunc-dso/exe /home/artur/Programming/C++/mold/fails/tmp/ifunc-dso/a.o /home/artur/Programming/C++/mold/fails/tmp/ifunc-dso/b.so
+ /home/artur/Programming/C++/mold/fails/tmp/ifunc-dso/exe
+ grep -q 'Hello world'

This can be caused by my /usr/bin/ld being a symlink to /usr/bin/mold
UPD confirmed that passing -fuse-ld=bfd to gcc & clang in this test fixes it.

~/Programming/C++/mold fix-tests-again !5 ?1 ❯ bash -x fails/run.sh      
+ set -e
++ dirname fails/run.sh
+ cd fails
++ basename -s .sh fails/run.sh
+ echo -n 'Testing run ... '
Testing run ... ++ pwd
++ basename -s .sh fails/run.sh
+ t=/home/artur/Programming/C++/mold/fails/tmp/run
+ mkdir -p /home/artur/Programming/C++/mold/fails/tmp/run
+ cat
+ cc -xc -c -o /home/artur/Programming/C++/mold/fails/tmp/run/a.o -
+ gcc -o /home/artur/Programming/C++/mold/fails/tmp/run/exe /home/artur/Programming/C++/mold/fails/tmp/run/a.o
+ readelf -p .comment /home/artur/Programming/C++/mold/fails/tmp/run/exe
+ grep -q mold /home/artur/Programming/C++/mold/fails/tmp/run/log
+ false

from mold.

rui314 avatar rui314 commented on July 18, 2024

@Logarithmus Do you mind if I ask you to create a patch to fix issues you found? I can make a change myself but can't confirm that my change would fix the issue.

from mold.

Logarithmus avatar Logarithmus commented on July 18, 2024

@rui314, yeah, I'm currently working on it. I've installed Debian 11 inside lxd container. The idea is to compare generated binaries/logs between my system & the container.

from mold.

Logarithmus avatar Logarithmus commented on July 18, 2024

See #67 for follow-up on tests.

from mold.

rui314 avatar rui314 commented on July 18, 2024

I cherrypicked bugfixes to https://github.com/rui314/mold/tree/release/0.9.2. Can you double-check that all tests pass now? If everything is fine, I'll tag it as v0.9.2.

from mold.

Logarithmus avatar Logarithmus commented on July 18, 2024

@rui314 I'm checking right now

from mold.

Logarithmus avatar Logarithmus commented on July 18, 2024

@rui314 2 small fixes needed:

  1. #87
  2. Bump version in Makefile (it's still 0.9.1 there).

from mold.

rui314 avatar rui314 commented on July 18, 2024

@Logarithmus Thank you very much for testing! I cherry picked your change and bumped up the version number to 0.9.2. I'm tagging v0.9.2.

from mold.

rui314 avatar rui314 commented on July 18, 2024

0.9.2 has been tagged.

from mold.

Logarithmus avatar Logarithmus commented on July 18, 2024

Thank you.

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.