Giter VIP home page Giter VIP logo

pkgbuilds's Introduction

AsahiLinux-PKGBUILD

This repository holds PKGBUILD files for the AsahiLinux Arch Linux Arm distribution. This will hold packages which are required to run Arch Linux Arm on Apple Silicon based computers, starting with patched Linux Kernel builds with hardware support.

pkgbuilds's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pkgbuilds's Issues

Make a small version bump to mesa-asahi-edge for testing

Hi, I (and Refi64) have been in the process of flatpakking the Asahi/Mesa fork for Flatpak on Asahi Linux, and it seems to be in a decent state now.

I'm making this issue so that we can test and make sure the updating works properly. Doing so would make sure that Flatpak on Asahi Linux will be an enjoyable experience, as Asahi tends to break uAPI where needed to push forward development.

All that's needed is for the PKGBUILD to get a small commit (or date) bump, and the flatpak should update (or, well, make a MR to update) within the hour.

cc @refi64

https://github.com/orowith2os/mesa-asahi-flatpak

Request to update/post the 5.18.x kernel config

I realize the kernel package was recently updated and that the pkgbuild config is running a make olddefconfig to update the kernel config to 5.18.x

However, it would be nice if the linux-asahi kernel config was updated to reflect what the actual 5.18.x config looks like.
https://raw.githubusercontent.com/AsahiLinux/PKGBUILDs/main/linux-asahi/config

Or maybe someone could just post the asahi 5.18.x config somewhere so I can see what it looks like....either way.

Thanks.

Chromium with 16K pages

Hello.
I've read in https://asahilinux.org/2022/03/asahi-linux-alpha-release/#known-broken-applications that Chromium has to be fixed

You can probably try what is done in ROSA:
https://abf.io/import/chromium-browser-stable/blob/2e1481c3ab/chromium-browser-stable.spec#lc-411

# Use native page size on aarch64 ("if (current_cpu == "arm64")"), otherwise:
# /lib64/ld-linux-aarch64.so.1 ./bytecode_builtins_list_generator
# ./bytecode_builtins_list_generator: error while loading shared libraries:
# ./bytecode_builtins_list_generator: ELF load command alignment not page-aligned
sed -i \
	-e 's!-Wl,-z,max-page-size=4096!!g' \
	build/config/compiler/BUILD.gn

ROSA kernel has CONFIG_ARM64_4K_PAGES=y on aarch64, I don't know whay this hack is needed and works for Chromium.

No linux-header for linux-asahi-edge?

I didn't find it.

BTW, I am trying to add the binder module so that I can run WayDroid. I suggest including this module in your official build, as I think Apple Silicons are a great platform to run WayDroid, a great software that runs Android using linux namespaces.

Is 4k page support on the plan ??

I know 4k page kernel are negatively optimized, it's not worth too much effort. But ... I need to run some emulators on asahilinux, 4k page is required. Is 4k support still on the plan ??? Thanks.

apparmor support for the asahi kernel

I have recently tried enabling apparmor via the recommended parameters on the arch linux wiki. aa-enabled informs that the kernel does not support apparmor since it probably wasn't compiled with the necessary env vars. Could we have an apparmor enabled kernel?

Make kernel headers work for linux asahi edge by default

I want to use some DKMS things and not having it work on linux-asahi-edge is disappointing. I think the kernel header package should either support both kernels by default or there should be another header package for the edge kernel in repos.

Dependency issue with current build of qemu-base 7.0

Installing pacman -S qemu-base on a MacMini M1 with ArchLinux (ASAHI alpha Installer Option 2) reports dependency issues:

$ sudo pacman -S qemu-base
    resolving dependencies...
    warning: cannot resolve "edk2-ovmf", a dependency of "qemu-system-x86"
    warning: cannot resolve "seabios", a dependency of "qemu-system-x86"
    warning: cannot resolve "qemu-system-x86", a dependency of "qemu-base"
    :: The following package cannot be upgraded due to unresolvable dependencies:
          qemu-base

    :: Do you want to skip the above package for this upgrade? [y/N]

In a comment of docs Issue #21 @jannau wrote:
My bad, I was in a hurry and didn't want to update. Reproduced with the restructured qemu 7.0 package. The qemu update in archlinuxarm/PKGBUILDs@dff79d9 missed to add the additional dependencies.

Originally posted by @jannau in AsahiLinux/docs#21 (comment)

linux-asahi-headers: /home/marcan in Makefile?

The content of /usr/lib/modules/6.1.0-rc8-asahi-3-1-ARCH/build/Makefile is:

# Automatically generated by /home/marcan/asahi/git/PKGBUILDs/linux-asahi/src/linux-asahi-6.1-rc8-3/Makefile: don't edit
include /home/marcan/asahi/git/PKGBUILDs/linux-asahi/src/linux-asahi-6.1-rc8-3/Makefile

???

gdb broken?

Not sure where to ask, but gdb is broken on Asahi Linux.
I'm on Asahi with an M1 Mac.

$ gdb --version
GNU gdb (GDB) 13.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$ uname -r
6.2.0-asahi-11-1-ARCH

To reproduce, pick any random executable, and run it under gdb:

gdb ls
GNU gdb (GDB) 13.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "aarch64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
/home/chriselrod/.gdbinit:6: Error in sourced command file:
No symbol table is loaded.  Use the "file" command.
Reading symbols from ls...
(No debugging symbols found in ls)
(gdb) r
Starting program: /usr/bin/ls 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
../../gdb/thread.c:85: internal-error: inferior_thread: Assertion `current_thread_ != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
----- Backtrace -----
0xaaab12d60fef ???
0xaaab131c486f ???
0xaaab131c4b13 ???
0xaaab1335f8e3 ???
0xaaab1316b6b7 ???
0xaaab1316c0af ???
0xaaab13095e83 ???
0xaaab12c7c77b ???
0xaaab13163a2f ???
0xaaab1316406f ???
0xaaab13164123 ???
0xaaab1301c00f ???
0xffff37165937 ???
0xffff3716229f ???
0xaaab12f8d767 ???
0xaaab12f8f0b7 ???
0xaaab1316774f ???
0xaaab12f439d7 ???
0xaaab12f5448f ???
0xaaab1335fe07 ???
0xaaab13360a6f ???
0xaaab12fa303f ???
0xaaab12fa5263 ???
0xaaab12c70f1f ???
0xffff649d7b7f ???
0xffff649d7c5f ???
0xaaab12c78c6f ???
0xffffffffffffffff ???
---------------------
../../gdb/thread.c:85: internal-error: inferior_thread: Assertion `current_thread_ != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) 

Related:
https://www.cygwin.com/bugzilla/show_bug.cgi?id=30240
https://inbox.sourceware.org/gdb-patches/[email protected]/

For what it's worth, I tried both yay -S gdb-git and spack install git@master in hopes of easily installing the latest commit, but I haven't been able to get it to build, so for now I'm stuck with a broken gdb (and am sticking to developing on x64).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.