[Bug 267346] devel/llvm13 takes very long to compile on the Raspberry Pi B+

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 25 Oct 2022 18:02:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267346

            Bug ID: 267346
           Summary: devel/llvm13 takes very long to compile on the
                    Raspberry Pi B+
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: brooks@FreeBSD.org
          Reporter: d8zNeCFG@aon.at
          Assignee: brooks@FreeBSD.org
             Flags: maintainer-feedback?(brooks@FreeBSD.org)

(this is a little tongue-in-cheek :-))

Scenario:
- Raspberry Pi model B+
https://www.raspberrypi.com/products/raspberry-pi-1-model-b-plus/ and a 2.5"
HDD via USB
- FreeBSD 14 at 1ffd352bc25
- ports at 2bc1986c8c9
- upgrading ports using portmaster, including x11/xorg
- this requires rebuilding devel/llvm13 and lang/rust

Result:
- building llvm13-13.0.1_3 takes about 4.5 weeks
- building rust-1.62.1 takes about 3.5 weeks
- rebuilding 443 ports takes about 2.5 months

Expected result:
- This should go much faster...

The nice thing is that it is even working!

There was a time when ports for armv6 for the RPI B+ could be compiled using
emulators/qemu-user-static on multiple cores, but alas this does not work
anymore.

It would be interesting to know what uses more energy - the native compilation
on the RPI B+, or qemu-user-static with four cores.

-- Martin

p.s. Does anyone know of FreeBSD drivers for the peripherals of a GrovePi (I2C
is working)?

-- 
You are receiving this mail because:
You are the assignee for the bug.