Skip to content

issues Search Results · repo:riscvarchive/riscv-newlib language:C

Filter by

11 results
 (52 ms)

11 results

inriscvarchive/riscv-newlib (press backspace or delete to remove)

The startup code expects the main() arguments to be processed by someone else and does not call SYS_GETCMDLINE to get them, as specified by Arm semihosting: - https://github.com/riscv-collab/riscv-newlib/blob/f289cef6be67da67b2d97a47d6576fa7e6b4c858/libgloss/riscv/crt0.S#L51 ...
  • ilg-ul
  • Opened 
    on Jul 21, 2022
  • #46

I ve just built a new version of the RISC-V bare-metal toolchain, using GCC 11.3 and the latest newlib, including the newlinb-nano libraries, and I noticed that the nano.spec does not replace the -lstdc++ ...
  • ilg-ul
  • 7
  • Opened 
    on May 2, 2022
  • #45

For reference in glibc: https://github.com/riscv/riscv-glibc/blob/4e2943456e690d89f48e6e710757dd09404b0c9a/sysdeps/riscv/rvf/e_sqrtf.c
  • jimaobian
  • 3
  • Opened 
    on Nov 8, 2018
  • #40

I see that sp is used here: https://github.com/riscv/riscv-newlib/blob/77e11e1800f57cac7f5468b2bd064100a44755d4/libgloss/riscv/crt0.S#L38 But before that it was not set anywhere. I see that sp is set ...
  • pentin-as
  • 2
  • Opened 
    on Aug 25, 2018
  • #39

The symbols in libnosys need leading underscores added in order to be compatible with the naming used in newlib. See discussion with @ilg-ul here for details, including a proposed fix from @jim-wilson ...
  • jstraus59
  • 2
  • Opened 
    on Jun 6, 2018
  • #36

I m trying to compile a simple program for RISCV with newlib that uses fenv to set the rounding mode. #include cstdio #include cmath #include cfenv int main(int argc, char **argv) { float fs1 ...
  • mneilly
  • 2
  • Opened 
    on Jun 3, 2017
  • #14

The %f, %g and %e format specifiers for sprintf() and printf() fail to return the proper sign. The result varies depending upon the mix of printf() calls... The following produces the incorrect sign for ...
  • mneilly
  • 9
  • Opened 
    on May 24, 2017
  • #13

As discussed at FOSDEM with @arunthomas, for Linux distros like openSUSE to pick up RISC-V toolchains, your target support needs to be in the respective upstream projects (and released tarballs). At present, ...
  • afaerber
  • 8
  • Opened 
    on Apr 3, 2017
  • #9

When building the latest riscv-newlib-2.4.0 branch against an upstream gcc configured as riscv32-elf, it will fail to build, complaining about some lp64 subdir trying to use elf64-littleriscv: https://build.opensuse.org/package/live_build_log/home:a_faerber:riscv/cross-riscv32-newlib-devel/openSUSE_Leap_42.2/x86_64 ...
  • afaerber
  • 9
  • Opened 
    on Apr 3, 2017
  • #8

Both C and POSIX requires at least 32 functions to be registered by atexit(), but RISC-V already uses one for __libc_fini_array in libgloss, so only 31 functions can be registered by users. #include ...
  • PkmX
  • 3
  • Opened 
    on Mar 23, 2017
  • #6
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub