This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug driver/66203] New: aarch64-none-elf does not automatically find librdimon


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]