Skip to content
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.36 cpan | OpenGL fails tests #102

Open
shawnlaffan opened this issue May 27, 2023 · 4 comments
Open

perl 5.36 cpan | OpenGL fails tests #102

shawnlaffan opened this issue May 27, 2023 · 4 comments
Labels
cpan builds gcc13-related Probably related to changes between gcc8 and gcc13 perl5.36

Comments

@shawnlaffan
Copy link
Contributor

As noted in #93, OpenGL is failing its tests under gcc-13. This has not been fixed by the vmem patching that gets PDL to build.

OpenGL is currently disabled in the build system so opening this issue to flag it as a known issue.

@sisyphus
Copy link

For me, the 3 test scripts in the "t" folder all pass when run as perl -Mblib t/<script.t>.
But those tests don't get run under gmake test because test.pl aborts isomewhere inside glutMainLoop().

Is that the issue we have to deal with ?

I don't know to what extent it's a problem, but I notice there's a glutCloseFunc() call inside test.pl even though I can see it reported in the test.pl output that glutCloseFunc: not implemented.

IME it doesn't matter how many graphics libraries you repair - there's always one more that demands fixing ;-)

Cheers,
Rob

@shawnlaffan
Copy link
Contributor Author

Yes, that's the issue.

And now I have searched a little harder I found the previous discussion of this in some code comments, starting at 409d29b#r110340879

I'll generate the gdb backtrace once I have a 5.36 with a working gdb.

@sisyphus
Copy link

I see that the freeglut developers no longer provide a Configure script. I presume we need to use cmake.
I assume you are building freeglut-3.4.0.
If you care to share the mantra that will build, test and install freeglut, I'll give it a go. (It's not of great importance to me, so feel free to ignore.)

I'm a little curious to see if 32-bit builds of OpenGL-0.70 are similarly afflicted.

Cheers,
Rob

@shawnlaffan
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cpan builds gcc13-related Probably related to changes between gcc8 and gcc13 perl5.36
Projects
None yet
Development

No branches or pull requests

2 participants