This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug driver/66203] New: aarch64-none-elf does not automatically find librdimon
- From: "clyon at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 19 May 2015 13:25:42 +0000
- Subject: [Bug driver/66203] New: aarch64-none-elf does not automatically find librdimon
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66203
Bug ID: 66203
Summary: aarch64-none-elf does not automatically find librdimon
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: driver
Assignee: unassigned at gcc dot gnu.org
Reporter: clyon at gcc dot gnu.org
Target Milestone: ---
While looking at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66018, I noticed
that
$ aarch64-none-elf-gcc conftest.c -o conftest
fails to link unless one uses --specs=rdimon.specs.
Otherwise, newlib's crt0.S reference to initialise_monitor_handles and exit.o
reference to _exit cannot be resolved.
the arm-none-eabi compiler does not need such an option.
Is this on purpose, or is this a bug?
If on purpose, it looks like GCC build for aarch64-none-elf should set
LDFLAGS_FOR_TARGET=--specs=rdimon.specs.