Tiny Core Base > Raspberry Pi

armhf TC15

<< < (3/4) > >>

polikuo:

--- Quote from: Paul_123 on January 09, 2025, 06:42:45 AM ---That’s the same wall I ran into a few years back.  I could not find any useful help with 32bit systems.

Would the Debian/RaspiOS package build scripts provide any useful help?

--- End quote ---

Hi Paul

Could you kindly point out where can I find those information ?
I'm rather unfamiliar with their system.
I'm scratching my head looking at https://tracker.debian.org/pkg/firefox and https://salsa.debian.org/mozilla-team/firefox/-/tree/release/master/debian?ref_type=heads



--- Quote from: Rich on January 09, 2025, 09:25:43 AM ---You're using a 64bit kernel, but a 32 bit toolchain. Right?

So that means the 64 bit kernel can allocate all available
RAM to various running apps.

But any 32 bit app needing more than 3.5 - 4 Gig of RAM
will still run out of memory because it can't address it.

--- End quote ---

Hi, Rich.

I know that, I'm looking for working instructions
I'm currently testing out this modification

--- Code: ---RUSTFLAGS="$RUSTFLAGS -C debuginfo=0"
--- End code ---

My pi is still compiling, it's not there yet, not sure if it would work.

Rich:
Hi polikuo
I did notice one other thing, not necessarily related:

--- Quote from: polikuo on January 08, 2025, 10:59:29 PM --- ...
--- Code: ---  ----- Snip -----
 3:15.50 make[4]: *** [/mnt/mmcblk0p5/compile/firefox-128.6.0/config/makefiles/rust.mk:498: force-cargo-library-build] Error 101
  ----- Snip -----
--- End code ---

--- End quote ---

If that's one of the codes listed in errno.h, it means:

--- Code: ---#define ENETUNREACH     101     /* Network is unreachable */
--- End code ---

polikuo:
Hi,
I managed to get beyond `gkrust`
but I'm stuck again with `libxul.so`

--- Code: ---423:30.43 warning: `builtins-static` (build script) generated 2 warnings
423:31.67 LLVM ERROR: out of memory
423:31.67 Allocation failed
423:31.67 PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
423:31.68 LLVM ERROR: out of memory
423:31.68 Allocation failed
423:31.81 clang++: error: unable to execute command: Aborted
423:31.82 clang++: error: linker command failed due to signal (use -v to see invocation)
423:31.82 distcc[12254] ERROR: compile (null) on localhost failed
423:31.82 make[4]: *** [/mnt/mmcblk0p5/compile/firefox-128.6.0/config/rules.mk:541: ../../../dist/bin/libxul.so] Error 1
423:31.83 make[3]: *** [/mnt/mmcblk0p5/compile/firefox-128.6.0/config/recurse.mk:72: toolkit/library/build/target] Error 2
423:31.83 make[3]: *** Waiting for unfinished jobs....
423:45.59     Finished `release` profile [optimized] target(s) in 46.87s
423:46.60 security/manager/ssl/builtins/libbuiltins_static.a
423:46.61 make[2]: *** [/mnt/mmcblk0p5/compile/firefox-128.6.0/config/recurse.mk:34: compile] Error 2
423:46.62 make[1]: *** [/mnt/mmcblk0p5/compile/firefox-128.6.0/config/rules.mk:361: default] Error 2
423:46.62 make: *** [client.mk:60: build] Error 2
423:46.73 W 152 compiler warnings present.
424:27.46 /usr/local/bin/notify-send '--app-name=Mozilla Build System' 'Mozilla Build System' 'Build failed'
424:27.46 D Environment: {'USER': 'tc', 'MAIL': '/var/mail/tc', 'SSH_CLIENT': '192.168.18.14 36750 22', 'SHLVL': '1', 'HOME': '/home/tc', 'OLDPWD': '/usr/local/tce.installed', 'SSH_TTY': '/dev/pts/0', 'PAGER': 'less -EM', 'PS1': '\\u@\\h:\\w\\$ ', 'ENV': '/home/tc/.ashrc', 'BACKUP': '1', 'LOGNAME': 'tc', 'TERM': 'xterm', 'INCLUDE_SERVER_PORT': '/tmp/distcc-pump.85og76/socket', 'PATH': '/mnt/mmcblk0p5/compile/firefox-128.6.0/mozbuild/srcdirs/firefox-128.6.0-89a6938a84a0/_virtualenvs/build/bin:/mnt/mmcblk0p5/compile/firefox-128.6.0/mozbuild/srcdirs/firefox-128.6.0-89a6938a84a0/_virtualenvs/mach/bin:/tmp/tcloop/distcc/usr/local/bin:/home/tc/.local/bin:/usr/local/sbin:/usr/local/bin:/apps/bin:/usr/sbin:/usr/bin:/sbin:/bin:/etc/sysconfig/tcedir/ondemand', 'G_FILENAME_ENCODING': 'iso8859-1', 'LANG': 'zh_TW.utf8', 'MANPAGER': 'less -isR', 'SHELL': '/bin/sh', 'FLWM_TITLEBAR_COLOR': '58:7D:AA', 'INCLUDE_SERVER_PID': '7874', 'PWD': '/mnt/mmcblk0p5/compile/firefox-128.6.0', 'INCLUDE_SERVER_DIR': '/tmp/distcc-pump.85og76', 'SSH_CONNECTION': '192.168.18.14 36750 192.168.18.12 22', 'TZ': 'UTC-8', 'EDITOR': 'vi', 'VIRTUAL_ENV': '/mnt/mmcblk0p5/compile/firefox-128.6.0/mozbuild/srcdirs/firefox-128.6.0-89a6938a84a0/_virtualenvs/build', 'MACH_MAIN_PID': '16538', 'MACH_STDOUT_ISATTY': '1', 'PYTHONUNBUFFERED': '1'}
Command exited with non-zero status 2
real    7h 5m 44s
user    25h 37m 29s
sys     1h 0m 19s

--- End code ---

Paul_123:
The raspi repo is here  https://archive.raspberrypi.org/debian/pool/main/f/firefox/

This would be the latest package https://archive.raspberrypi.org/debian/pool/main/f/firefox/firefox_134.0-1+rpt8.debian.tar.xz

This has all of the debian/raspi patches and build information.   You will also see a boatload of files named firefox_134-orig*   these are all of the source files.  Most are localization files.

Obviously this is a very complicated build, and I am by no means an expert of the debian build system.

Juanito:
Are you building on one RPi or using your multiple RPi hive thing?

If you're using multiple RPi, do you have a swap file/partition for each one?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version