New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Perl 5.30.0 fails with LTO optimisation #17068
Comments
From kloczko.tomasz@gmail.comCreated by kloczko.tomasz@gmail.comWhen Perl 5.30.0 is build with LTO optimisation linking of the rm -rf mpdtrace Perl Info
|
From @jkeenanOn Sun, 30 Jun 2019 23:00:02 GMT, kloczko.tomasz@gmail.com wrote:
Can you supply the full ./Configure command you used in this attempt to build perl? What is meant by LTO optimization? -- |
The RT System itself - Status changed from 'new' to 'open' |
From @tonycozOn Sun, 30 Jun 2019 16:00:02 -0700, kloczko.tomasz@gmail.com wrote:
Please provide the options you supplied to Configure. I tried a simple ./Configure -des -Dusedevel -Dusedtrace -Doptimize='-O2 -g -flto' -Dusethreads && make miniperl I did get the type mismatch warnings, which I'll look into. Tony |
From @craigberryOn Sun, Jun 30, 2019 at 6:57 PM James E Keenan via RT
|
From @tonycozOn Mon, 01 Jul 2019 23:17:21 -0700, tonyc wrote:
I managed to reproduce some missing symbols (but not these) with: ./Configure -des -Dusedevel -Dusedtrace -Doptimize='-O1 -g -flto' -Dusethreads -Dusequadmath && make test-prep Adding: -Dar=gcc-ar fixed them, but there are some test failures, of which there seem to be five basic causes: 1) goto fails in some way, or crashes (op/eval.t, op/goto.t, lib/croak.t) 2) libperl.t fails because it insists on using /usr/bin/nm rather than $Config{nm} if you set -Dnm=gcc-nm, if you fix that... 3) libperl.t doesn't handle some constants being moved to the text segment 4) PL_ppaddr despite not being constant is moved to the text segment, which libperl.t correctly complains about 5) cpan/ExtUtils-MakeMaker/t/03-xsstatic.t fails its staticmulti test |
From kloczko.tomasz@gmail.comOn Mon, 1 Jul 2019 at 00:56, James E Keenan via RT
Here is begin of my rpm package build log: Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zhL6ji Above is working. Tomasz |
From kloczko.tomasz@gmail.comOn Tue, 2 Jul 2019 at 07:17, Tony Cook via RT <perlbug-followup@perl.org> wrote:
Did you combine that with -Wl,--as-needed? -- |
Migrated from rt.perl.org#134241 (status was 'open')
Searchable as RT134241$
The text was updated successfully, but these errors were encountered: