Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Catalyst + crossdev howto or alternatives?

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
szatox
Advocate
Advocate
Posts: 3858
Joined: Tue Aug 27, 2013 12:35 pm

Catalyst + crossdev howto or alternatives?

  • Quote

Post by szatox » Sun Jan 25, 2026 7:29 pm

Long story short, I want to setup some tool that will let me periodically build gentoo for foreign (and severely underpowered) architectures.
I already have crossdev toolchain.

I looked into Catalyst docs, but it makes impression as if it wanted to run the foreign toolchain under qemu-user rather than using cross-toolchain. If this is really the case, builds would be unacceptably slow. https://wiki.gentoo.org/wiki/Catalyst

Meanwhile, it seems there were some changes to the way emerge uses various *ROOT variables, so my old way of cross-merging things manually may not work anymore either (and at this point I'm not sure if it's now broken or I'm deviating from my old procedure)

The problem at hand should have been solved a long long time ago in a sensible way. Does anyone here know a solution I could reuse? Any howtos/guides?
[topic=1152524]Make Pipewire a system service[/topic]
Top
zen_desu
Guru
Guru
Posts: 500
Joined: Fri Oct 25, 2024 3:14 pm
Location: your area

Re: Catalyst + crossdev howto or alternatives?

  • Quote

Post by zen_desu » Sun Jan 25, 2026 7:42 pm

szatox wrote:Long story short, I want to setup some tool that will let me periodically build gentoo for foreign (and severely underpowered) architectures.
I already have crossdev toolchain.

I looked into Catalyst docs, but it makes impression as if it wanted to run the foreign toolchain under qemu-user rather than using cross-toolchain. If this is really the case, builds would be unacceptably slow. https://wiki.gentoo.org/wiki/Catalyst

Meanwhile, it seems there were some changes to the way emerge uses various *ROOT variables, so my old way of cross-merging things manually may not work anymore either (and at this point I'm not sure if it's now broken or I'm deviating from my old procedure)

The problem at hand should have been solved a long long time ago in a sensible way. Does anyone here know a solution I could reuse? Any howtos/guides?
Here be dragons: https://github.com/desultory/genTree

I made this a while back and it kinda sorta does what you described (i was having a hard time with catalyst and wanted to be able to run the builds as a plain user). I've kinda stopped working on it but have used it to make crossdev binpkgs and images.
It's not made for crossdev but has support for making and using crossdev chains within this system

You can also just use crossdev yourself, and treat the /usr/toolchain root as the fs root (with some adjustments).

Keep in mind that sometimes qemu-user is the only real way to build certain packages, not everything plays nice with crossdev.
µgRD dev
Wiki writer
Top
szatox
Advocate
Advocate
Posts: 3858
Joined: Tue Aug 27, 2013 12:35 pm

  • Quote

Post by szatox » Mon Jan 26, 2026 1:16 am

I must say your tool looks quite impressive :wink: :wink:
And it should indeed fit my purpose. Thanks, I'll try it
[topic=1152524]Make Pipewire a system service[/topic]
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy