Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please update config.{sub,guess} in release tarballs #212

Open
hack3ric opened this issue Mar 23, 2024 · 0 comments
Open

Please update config.{sub,guess} in release tarballs #212

hack3ric opened this issue Mar 23, 2024 · 0 comments

Comments

@hack3ric
Copy link

I am building LDCproc on Arch Linux RISC-V and the outdated files are unable to detect new platforms like riscv64:

checking build system type... ./config.guess: unable to guess system type

This script, last modified 2014-03-23, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD

If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches@gnu.org> in order to provide the needed
information to handle your system.

config.guess timestamp = 2014-03-23

uname -m = riscv64
uname -r = 6.1.61-3-sophgo-multi-08357-g369f7207fe69
uname -s = Linux
uname -v = #1 SMP Sat, 30 Dec 2023 06:54:24 +0000

/usr/bin/uname -p = unknown
/bin/uname -X     = 

hostinfo               = 
/bin/universe          = 
/usr/bin/arch -k       = 
/bin/arch              = 
/usr/bin/oslevel       = 
/usr/convex/getsysinfo = 

UNAME_MACHINE = riscv64
UNAME_RELEASE = 6.1.61-3-sophgo-multi-08357-g369f7207fe69
UNAME_SYSTEM  = Linux
UNAME_VERSION = #1 SMP Sat, 30 Dec 2023 06:54:24 +0000
configure: error: cannot guess build type; you must specify one

Please update these files in the next release (if any). Thanks!

hack3ric added a commit to hack3ric/archriscv-packages that referenced this issue Mar 23, 2024
- Update config.{sub,guess}. Upstreamed to lcdproc/lcdproc#212.
- Disable LTO due to lto-wrapper fails on unreachable x86 inline assembly:

```
In function ‘port_out’,
    inlined from ‘t6963_low_dsp_ready’ at t6963_low.c:181:3:
port.h:351:9: error: impossible constraint in ‘asm’
  351 |         __asm__ volatile ("outb %0,%1\n"::"a" (val), "d"(port)
      |         ^
make[4]: *** [/tmp/cca6TJKK.mk:2: /tmp/ccT5025n.ltrans0.ltrans.o] Error 1
lto-wrapper: fatal error: make returned 2 exit status
```
felixonmars pushed a commit to felixonmars/archriscv-packages that referenced this issue Mar 23, 2024
- Update config.{sub,guess}. Upstreamed to lcdproc/lcdproc#212.
- Disable LTO due to lto-wrapper fails on unreachable x86 inline assembly:

```
In function ‘port_out’,
    inlined from ‘t6963_low_dsp_ready’ at t6963_low.c:181:3:
port.h:351:9: error: impossible constraint in ‘asm’
  351 |         __asm__ volatile ("outb %0,%1\n"::"a" (val), "d"(port)
      |         ^
make[4]: *** [/tmp/cca6TJKK.mk:2: /tmp/ccT5025n.ltrans0.ltrans.o] Error 1
lto-wrapper: fatal error: make returned 2 exit status
```
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

No branches or pull requests

1 participant