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
Core Dump while building from source on AIX #20012
Comments
Can you get us a backtrace with some debugger? |
yep, will do it monday |
If that is not enough to make things obvious, other useful data points would be whether it also crashes if built without optimization, and the results from |
truss output:
something is missing in lib/auto/Cwd/. no idead what Cwd.bs is.
|
make minitest failed one test
|
building without optimization changes nothing |
just in case, built a debug-perl and let it run in dbx...output in file |
Just to double check: how did you do this? Also: try running |
no, optimization was always O2. make test dumps at same task (./perl -Ilib -I. -f pod/buildtoc -q). |
Can you try with For the
|
On Mon, 1 Aug 2022 at 13:11, flynn1973 ***@***.***> wrote:
just in case, built a debug-perl and let it run in dbx...output in file
debug_perl_dbx.txt
<https://github.com/Perl/perl5/files/9233377/debug_perl_dbx.txt>
Seems like it hits yacc/bison code and clobbers the stack.
buildtoc exercises a surprising amount of perl and often blows up when
there is a bug, but clobbering the stack like that is new to me.
The minitest failure you mention makes me wonder if there is some confusion
about the size of the floats and things like that on your platform. (But
that is an insanely out of my hat guess). The test fail you have is for an
8 byte double, but the output looks like its from a 4 byte maybe?
Can you run that test with miniperl directly and show us the output?
./miniperl -Ilib t/op/sprintf2.t
will probably do it.
cheers,
Yves
…--
perl -Mre=debug -e "/just|another|perl|hacker/"
|
here you go |
patched the Makefile, were able to run make test...but
ähm...this looks awkward. |
On Mon, 1 Aug 2022, 17:06 flynn1973, ***@***.***> wrote:
./miniperl -Ilib t/op/sprintf2.t
here you go
sprintf2_test_out.txt
<https://github.com/Perl/perl5/files/9234949/sprintf2_test_out.txt>
Part of the output matches what I have here locally.
But the huge set of errors seems to suggest that it's not able to exec
itself:
What does this do:
$ ./miniperl -le'print `$^X -e"print q(ok),$/"`'
ok
cheers,
Yves
… |
root@aixbuildhostng: /opt/itsv/applperlbin/perl-5.36.0 # ./miniperl -le'print meanwhile i tried juggling around CFLAGS, LDFLAGS, with or without threads, various optimization settings...no change. |
with this minimal configuration and using xlc instead of gcc everything is going well
|
wikth gcc and minimal...guess this whole topic is more or less a local problem which stems from unsane flags and options.
|
Personally I would still find it interesting to know which flag/option caused it in the first place.. |
i looked at it again, removed and readded every configure option but found out nothing. i suspect something from hints/aix.sh is messing up dynamic linking (again), had this kind of troubles in the past (perl 5.00X), but thats only some uneducated head game. |
Module:
Description
While trying to build 5.36.0 on AIX with gcc, i get the follwing exception during "make install"
As seen, it uses the fresh built perl from the sourcetree which seems not ready for this task .
If i do it manually with miniperl no exeption occurs.
there is a second occurence later in the install process also runable in miniperl
Steps to Reproduce
build script used
Expected behavior
i expect a working perl installation
Perl configuration
The text was updated successfully, but these errors were encountered: