Skip to content

Conversation

@yf13
Copy link
Contributor

@yf13 yf13 commented Dec 8, 2025

Note: Please adhere to Contributing Guidelines.

Summary

Update this section with information on why change is necessary,
what it exactly does and how, if new feature shows up, provide
references (dependencies, similar problems and solutions), etc.

This reverts original entry name to fix LTO issue/17443 together with apache/nuttx-apps#3235.

Impact

Update this section, where applicable, on how change affects users,
build process, hardware, documentation, security, compatibility, etc.

Issue fix that shouldn't impact existing build processes.

Testing

This section should provide a detailed description of what you did
to verify your changes work and do not break existing code.

Please provide information about your host machine, the board(s) you
tested your changes on, and how you tested. Logs should be included.

For example, when changing something in the core OS functions, you
may want to run the OSTest application to verify that there are no
regressions. Changes to ADC code may warrant running the adc
example. Adding a new uORB driver may require that you run
uorb_listener to verify correct operation.

Pure documentation changes can just be tested with make html
(see docs) and verification of the correct format in your
browser.

PRs without testing information will not be accepted. We will
request test logs.

  • Local checks on Ubuntu 22.04 for:
    • FLAT mode: qemu-armv7a:nsh, rv-virt:nsh
    • PROTECTED mode: rv-virt:pnsh
    • KERNEL mode: qemu-armv7a:knsh, rv-virt:nsbi
  • With help from @pkarashchenko for issue/17743
  • CI checks

@github-actions github-actions bot added Area: Tooling Arch: arm Issues related to ARM (32-bit) architecture Arch: arm64 Issues related to ARM64 (64-bit) architecture Arch: risc-v Issues related to the RISC-V (32-bit or 64-bit) architecture Arch: x86_64 Issues related to the x86_64 architecture Arch: xtensa Issues related to the Xtensa architecture Size: S The size of the change in this PR is small labels Dec 8, 2025
set(ENTRY_NAME "__start")
# same entry used for all build modes in crt0.c

set(ENTRY_NAME "_start")
Copy link
Contributor

Choose a reason for hiding this comment

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

how about make file

@xiaoxiang781216 xiaoxiang781216 linked an issue Dec 8, 2025 that may be closed by this pull request
1 task
This reverts crt0.c entry name to _start to fix LTO issue/17443,
needs apps/ side pull/3235.

Signed-off-by: Yanfeng Liu <[email protected]>
@yf13 yf13 force-pushed the pull-crt0-start-naming branch from bf5527b to bcea169 Compare December 9, 2025 02:34
@yf13 yf13 requested a review from acassis as a code owner December 9, 2025 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Arch: arm Issues related to ARM (32-bit) architecture Arch: arm64 Issues related to ARM64 (64-bit) architecture Arch: risc-v Issues related to the RISC-V (32-bit or 64-bit) architecture Arch: x86_64 Issues related to the x86_64 architecture Arch: xtensa Issues related to the Xtensa architecture Area: Tooling Size: S The size of the change in this PR is small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] SAMv7 LTO build fails

2 participants