-
frg_AwayCompiling under x86 is totally unsupported by mozilla.
-
Sompifirst I need to figure out which package is the i386 cross-compilation C++ standard libraries
-
nsITobinthat is a thing go
-
nsITobinthe rust issue
-
Sompibecause that's what it is missing
-
nsITobinand frg isn't wrong
-
nsITobinbut 32bit distros DO do it like that and always have..
-
nsITobinbecause what mozilla supports used to not matter cause source code was easy to modify and build
-
nsITobinyou know Sompi that whole.. open source ecosystem shit no one likes anymore
-
nsITobin:P
-
Sompiit just complains that libstdc++ is not new enough
-
Sompiprobably means that it does not exist for that target
-
Sompiit was lib64stdc++-12-dev-i386-cross
-
Sompinow it is asking for the rust standard library
-
nsITobin32bit rust
-
Sompihow do I add them?
-
Sompithe build system tells me to use "rustup" but I don't have that installed
-
Sompiand I cannot find libstd-rust-cross-compilation packages from apt
-
nsITobinyou can use rustup but uninstall system rust
-
nsITobin
-
nsITobin
-
Sompiis it telling me to pipe http payload to sh?
-
nsITobinthey removed the archive
-
Sompiwhatever
-
Sompiit's a virtual machine
-
Sompiwho cares if it gets some weird shit in it
-
Sompithe rust people really love to be in control of what the users of their programming language have in their computers
-
nsITobinhey are fuckin cult members
-
nsITobincenobites
-
Sompiis there also i386-unknown-linux-gnu?
-
Sompii586 seems to exist
-
nsITobindoes debian based still default to i386 not i586?
-
SompiI ran that rustup thing and now rust and cargo are somehow only runnable for root
-
Sompihmm
-
SompiI see, so it only installs it for the current user
-
Sompi:|
-
Sompithen how do I remove that
-
Sompinow I have two installations of it, and I don't need it for root
-
Sompinow it is compiling for i686-target
-
Sompiit probably fails at linking but at least it is going somewhere
-
Sompisininenankka.dy.fi/kuvauppi/upload/q4rvq.jpg <- what is this error 2?
-
nsITobingo up to the first error
-
nsITobinthat is only the final one
-
Sompibut there's only warnings
-
nsITobinerror 2 as in make error 2
-
nsITobinwait
-
nsITobinyou sure?
-
nsITobinunless is this j1?
-
nsITobinor only one core
-
SompiDoesn't it stop the build immediately when it encounters an error?
-
Sompiapparently not
-
SompiI switched to single-core and now I see the error
-
Sompi
-
Sompinow I'm confused
-
Sompiapparently the default size of a double is different for 32- and 64-bit platforms
-
Sompiso I probably need some compiler flag
-
SompinsITobin: I think the compiler options I need are -mdouble=64 and -mlong-double-128
-
Sompibut the builder refuses to start the build because "Option must start with two dashes instead of one"
-
nsITobinhmm
-
SompiBut clang wants those with one -
-
nsITobinffs
-
Sompihow do I solve that
-
Sompi:(
-
Sompithe python script seems to be written in such way that it is completely incompatible with compiler flags that begin with one -
-
Sompi
-
Sompi
-
Sompithat's a ridiculously bad way to do things
-
Sompi
-
Sompithat is so bad that those functions there should be rewritten entirely
-
Sompiit is also incompatible with compiler flargs that are not 100% lowercase
-
Sompiseriously
-
Sompiwhat the hell
-
SompiAnd if I patch it so that it accepts the flags that start with only one '-', some other function that joins the options afterwards loses the value of the compiler flag
-
Sompiactually I think that the compiler flag I need is -ffp-eval-method=0
-
Sompibut it also has only one - so it doesn't work
-
SompiThey changed the floating point type definitions in some version of gcc headers and now it conflicts with the code in seamonkey's source
-
nsITobinhmm.. optimize flags in mozconfig maybe?
-
Sompiand that flag does not even exist in clang version 14.0.6 that Debian has... but it exists in version 20
-
Sompithis is hopeless
-
Sompiwhat if I just patch the header files directly...
-
Sompifuck gcc
-
Sompiwhy it has to have different floating point type definitions for different x86 bitnesses
-
Sompithey really like to break stuff
-
Sompiand also redefining a standard data type like double_t in your own code is a very stupid thing to do, it is surely going to not work on every target platform where that data type is not already what you want it to be
-
Sompiand somehow someone did that in mozilla's source code
-
Sompibut anyway, it continues compiling now after I changed the definition of __GLIBC_FLT_EVAL_METHOD for other than 64-bit x86 targets to 0 in /usr/i686-linux-gnu/include/bits/flt-eval-method.h
-
SompiSo the entire SeaMonkey codebase depends on it being 0
-
Sompiand by default it is 2 for 32-bit targets, and only newer versions of clang allow changing it from the command line
-
njsgTobin: swapping wouldn't be an issue here (other than possible thrashing, but this being a VM maybe it was all cached in RAM?), the 4 GiB total is *with* swap.
-
njsgSompi: did you start a clean build when you changed to cross-compiling?
-
frgLinux and macOS cross build scripts and configs from the Linux builder:
-
frg
-
frgObviously the google api keys are not included so you need to provide your own or remove them from the configs. Only used for smartscreen and location services.
-
frgAlso obviously they won't work without adapting the path statements too.
-
frggcc 8.50 /clang 8 (llvm) and clang 14 .06 cross for macOS only.
-
frgAnd here the Windows ones: seafiles.thereisonlyxul.org/people/frg/mozconfigs-25321-win.zip
-
Sompinjsg: How do I make sure that it starts a clean build?
-
frg_Awaymach clobber or delete the object directory
-
nsITobinGood morning
-
frg_Awayhi nsITobin
-
tommanthe new hotness on DNS: HTTPS records
-
tomman
-
tomman
-
tommani guess we at Mozillaland don't have to worry that much yet: only Safari seems to properly support those records
-
tommanChromovision support is half-assed, and Firefox support is even more dire
-
tommanand only cloud provider DNS services offer easy interfaces to manage said entries
-
tommanon the flip side, it doesn't seem to rely on D'OH!, as it can work over traditional DNS too
5 hours ago