Skip to content

Conversation

@rhubert
Copy link
Contributor

@rhubert rhubert commented Jan 23, 2026

No description provided.

Libada is the runtime library needed to run ada applications on different
systems. It is enabled by default if `ada` is an enabled language. But
o build libada a crt0 is needed which is not available if a newlib
based toolchain is build, so linking libada failes. Add a switch to
disable it in these cases. A separate (bare) runtime must be used for
bare metal ada.
Having libbacktrace a programm can print out it's own backtrace.
Copy link
Member

@jkloetzke jkloetzke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's better to postpone this PR until #299 and/or #296 are merged.

makeSequential -C build install DESTDIR="$PWD/install"
#add libbacktrace
cp build/libbacktrace/.libs/libbacktrace.a \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the wrong libbacktrace. It is built with the AUTOCONF_HOST compiler. But the result is installed in the AUTOCONF_TARGET part. I guess this does not show up in your case because it's all x86_64 but it will blow up if AUTOCONF_TARGET is something vastly different.

Now, gcc will compile the library for the target system. But only if certain languages are enabled. I would advise to compile the library in a separate recipe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants