problem build palemoon

Discussions about the development and maturation of the platform code (UXP).
Warning: may contain highly-technical topics.

Moderators: trava90, athenian200

User avatar
frostknight
Astronaut
Astronaut
Posts: 580
Joined: 2022-08-10, 02:25

problem build palemoon

Unread post by frostknight » 2025-04-08, 13:00

I noticed you made any gcc under 9 impossible to build from. Can you perhaps tell me how to change that so I can build it? and if not, can you make it so I can build the latest?

I can't exactly switch to gcc 9 yet or newer on Hyperbola. Its rather tricky.

A bypass command option would even be helpful
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37686
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: problem build palemoon

Unread post by Moonchild » 2025-04-08, 13:20

You can bypass the check in the build system by reverting the code changes in commit 1b0fde3e10fa987b1c875ffa3c9fa9d286a56c94 on UXP.
Please understand that gcc 9.1 is the first version that fully supports the C++17 language specification which we rely on in current and future versions of UXP, so you really should find a way to make the gcc 9+ dev toolset available on your O.S., instead of trying to work around the requirement.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
frostknight
Astronaut
Astronaut
Posts: 580
Joined: 2022-08-10, 02:25

Re: problem build palemoon

Unread post by frostknight » 2025-04-08, 13:57

Moonchild wrote:
2025-04-08, 13:20
You can bypass the check in the build system by reverting the code changes in commit 1b0fde3e10fa987b1c875ffa3c9fa9d286a56c94 on UXP.
Please understand that gcc 9.1 is the first version that fully supports the C++17 language specification which we rely on in current and future versions of UXP, so you really should find a way to make the gcc 9+ dev toolset available on your O.S., instead of trying to work around the requirement.
Yeah, that is probably true. I will do it this way for now though as long as it works.

I am attempting now to use that commit to change things if needed. Hopefully it won't revert when I build.
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 37686
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: problem build palemoon

Unread post by Moonchild » 2025-04-08, 16:41

frostknight wrote:
2025-04-08, 13:57
I will do it this way for now though as long as it works.
No guarantees on that one. We already assume c++17 is available when building and I don't know how older versions of gcc differ. Please don't rely on "it still works" because it could have hidden/subtle bugs in the binaries.
"A dead end street is a place to turn around and go into a new direction" - Anonymous
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
frostknight
Astronaut
Astronaut
Posts: 580
Joined: 2022-08-10, 02:25

Re: problem build palemoon

Unread post by frostknight » 2025-04-08, 16:55

Moonchild wrote:
2025-04-08, 16:41
No guarantees on that one. We already assume c++17 is available when building and I don't know how older versions of gcc differ. Please don't rely on "it still works" because it could have hidden/subtle bugs in the binaries.
Yeah, I know it will be a bit of a gamble. I don't think I have much to fear, linux is still extremely hard to hack and most hackers don't target linux unless we talking about a server.

Stability bugs of course, could still be a problem, but that's on me I suppose.

EDIT: It does still appear to build fine though once I reverted your changes on that part.
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Say NO to Fascism and Corporatism as much as possible!
Also, Peace Be With us All!