Building xfractint fails with -fno-common or gcc 10
Dear xfractint developers, I'm a gentoo linux user and it has been noticed that xfractint does not compile with -fno-common or gcc-10 (https://bugs.gentoo.org/706522). I'm not a C programmer, but I've managed to get the software to compile by applying the three attached patches. Please let me know if you intend to modify your source code so that I know what to do with the corresponding gentoo package. Best regards, David Denoncin.
David,
I'm a gentoo linux user and it has been noticed that xfractint does not compile with -fno-common or gcc-10 (https://bugs.gentoo.org/706522).
I'm not a C programmer, but I've managed to get the software to compile by applying the three attached patches. Please let me know if you intend to modify your source code so that I know what to do with the corresponding gentoo package.
Well, that is a good question. Where are you getting the source code for XFractint? On the Fractint Developer's website the most recent version should be xtractint-20-04p14.tat.gz. The xfradev.tar.gz should be a pointer to this file. I have been working on an SDL port for a number of years and the original source has not really been maintained. I have been using -std-c99 for my compiling the SDL port using Code::Blocks. I am using KDevelop for XFractint. I haven't compiled that code since 2015. I have upgrade Ubuntu at least once since then and the code does not currently compile. The changes are easy, although I am not sure why they should be necessary. Patch 1 should be a long double, not a double. We would define it as LDBL to accomodate compilers that don't recognize long double. Do those still exist? I'll put your changes in and work on getting XFractint to compile again, but I don't know how long that may take. Jonathan
Glad to hear from you, Jonathan! Hello David! I have a variety of installs of the very latest Ubuntu. I shall make some attempt to compile both Xfractint and the SDL port on that platform, though if I run into any problems (which from your report I likely will), not sure I have the skills to correct them. I have never tried Gentoo Linux, but I can probably find an unneeded hard drive to install it on. Will try Ubuntu first. No one should hold their breath waiting for me. I have been doing all kinds of crazy things in my socially distanced retirement, amazing how the time fills up! Tim
Tim,
I have a variety of installs of the very latest Ubuntu. I shall make some attempt to compile both Xfractint and the SDL port on that platform, though if I run into any problems (which from your report I likely will), not sure I have the skills to correct them. I have never tried Gentoo Linux, but I can probably find an unneeded hard drive to install it on. Will try Ubuntu first. No one should hold their breath waiting for me. I have been doing all kinds of crazy things in my socially distanced retirement, amazing how the time fills up!
I have managed to get the BN assembly math working and am now trying to the the BF assembly math to work. This is the 64-bit Linux version. I am working from home. Jonathan
Jonathan, Thanks for the quick reply! On 20-07-05 09:58:19, Jonathan Osuch wrote:
I'm a gentoo linux user and it has been noticed that xfractint does not compile with -fno-common or gcc-10 (https://bugs.gentoo.org/706522).
I'm not a C programmer, but I've managed to get the software to compile by applying the three attached patches. Please let me know if you intend to modify your source code so that I know what to do with the corresponding gentoo package.
Well, that is a good question. Where are you getting the source code for XFractint? On the Fractint Developer's website the most recent version should be xtractint-20-04p14.tat.gz. The xfradev.tar.gz should be a pointer to this file. I'm getting the source code from https://www.fractint.org/ftp/current/linux/ and it is indeed version 20-04p14.
Patch 1 should be a long double, not a double. Your third change, for boxcolor, is a little more complex. I need to be careful that I don't break the DOS code. Not that anyone ever compiles it now, but still. I will give it some thought. Thanks!
I'll compile with the various gcc version that are available on gentoo. If all goes well I will submit these easy "fixes" (taking into account your remarks) to the gentoo repository. Then I'll probably maintain this package for the gentoo community, and will be interested in any change you make. David.
David,
I'm getting the source code from https://www.fractint.org/ftp/current/linux/ and it is indeed version 20-04p14.
I'll compile with the various gcc version that are available on gentoo. If all goes well I will submit these easy "fixes" (taking into account your remarks) to the gentoo repository. Then I'll probably maintain this package for the gentoo community, and will be interested in any change you make.
I would rather you waited until I made official changes. It is a rare day indeed that I do exactly what has been suggested. I had to add -no-pie to the Make file to get an executable generated. I've run across other warnings that I need to look at. I will release a patch (p15) for the Linux source in about a week. Jonathan
Jonathan, On 20-07-05 17:54:42, Jonathan Osuch wrote:
I would rather you waited until I made official changes. It is a rare day indeed that I do exactly what has been suggested. I had to add -no-pie to the Make file to get an executable generated. I've run across other warnings that I need to look at.
I will release a patch (p15) for the Linux source in about a week. Great, thanks ! I'll wait for the new release !
David.
David, Your third change, for boxcolor, is a little more complex. I need to be careful that I don't break the DOS code. Not that anyone ever compiles it now, but still. I will give it some thought. Jonathan
Hi Jonathan, Strange that you ask about the DOS code. I still use a great deal of it in my implementation of ManpWIN. There are some really clever bits of code in it and I have learned a lot. Thanks for keeping itm alive. Paul. ---------------------------------------------------------- Paul de Leeuw Computers NSW Central Coast, Australia Email: pdeleeuw@deleeuw.com.au www: <https://www.deleeuw.com.au> ABN 72 360 822 562 ---------------------------------------------------------- -----Original Message----- From: Fractdev [mailto:fractdev-bounces@mailman.xmission.com] On Behalf Of Jonathan Osuch Sent: Monday, 6 July 2020 6:26 AM To: Fractint developer's list Subject: Re: [Fractdev] Building xfractint fails with -fno-common or gcc 10 David, Your third change, for boxcolor, is a little more complex. I need to be careful that I don't break the DOS code. Not that anyone ever compiles it now, but still. I will give it some thought. Jonathan _______________________________________________ Fractdev mailing list Fractdev@mailman.xmission.com https://mailman.xmission.com/cgi-bin/mailman/listinfo/fractdev
participants (4)
-
David Denoncin -
Jonathan Osuch -
Paul -
Timothy Wegner