Toolchain build script is not working #1

Closed
opened 2023-11-15 16:41:12 +02:00 by Bananymous · 3 comments
Owner

I haven't had the time to debug this. Manually running all commands in toolchain/build.sh with correct environment variables set builds the toolchain flawlessly. When using the provided script libgcc doesn't seem to actually build with -mcmodel=large and causes link errors when linking kernel.

I haven't had the time to debug this. Manually running all commands in toolchain/build.sh with correct environment variables set builds the toolchain flawlessly. When using the provided script libgcc doesn't seem to actually build with -mcmodel=large and causes link errors when linking kernel.
Contributor

Hmmm strange.. 🤔

Hmmm strange.. 🤔
Author
Owner

Fixed in commit 8b81406b81

I moved full toolchain compilation to single pass of toolchain/build.sh which seemed to fix the issue. No idea what the problem actually was... something related to libstdc++.

Fixed in commit 8b81406b81efc482996f7b0c57f3207aa0b49a0e I moved full toolchain compilation to single pass of toolchain/build.sh which seemed to fix the issue. No idea what the problem actually was... something related to libstdc++.
Contributor

Good job!

Good job!
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Bananymous/banan-os#1
No description provided.