After installation with yay I am not able to build c code as it cannot find stdio.h. Any idea how to fix it?
Search Criteria
Package Details: mipsel-elf-gcc 14.1.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/mipsel-elf-gcc.git (read-only, click to copy) |
---|---|
Package Base: | mipsel-elf-gcc |
Description: | The GNU Compiler Collection - C and C++ frontends (for baremetal MIPS) |
Upstream URL: | https://www.gnu.org/software/gcc/ |
Keywords: | gcc mips |
Licenses: | GPL, custom, LGPL, FDL |
Submitter: | MikeWalrus |
Maintainer: | MikeWalrus |
Last Packager: | MikeWalrus |
Votes: | 8 |
Popularity: | 0.000000 |
First Submitted: | 2022-01-23 10:24 (UTC) |
Last Updated: | 2024-05-22 10:29 (UTC) |
Dependencies (2)
- mipsel-elf-binutilsAUR
- gcc-ada (gcc-ada-gitAUR, gcc-ada-debugAUR, gcc-ada-snapshotAUR) (make)
Required by (0)
Sources (1)
dhims commented on 2023-01-25 05:15 (UTC)
torpe23 commented on 2023-01-13 00:31 (UTC)
The naming of this package (and of the related packages) seems incorrect since this cross-compiler does not include support for the libc. It's a simple bare metal cross-compiler. It should probably be renamed into something like mipsel-none-elf-gcc
or mipsel-unknown-elf-gcc
in order to remove any confusion.
<deleted-account> commented on 2022-11-09 03:37 (UTC)
[deleted]
effeffe commented on 2022-11-08 11:42 (UTC)
The compile flags of the package have been amended. Sorry for the delay.
If any of you are interested in taking over or co-maintaining the package, please drop a message here
noabody commented on 2022-11-07 21:53 (UTC) (edited on 2022-11-07 21:58 (UTC) by noabody)
As MikeWalrus said, and here is my variation, change the PKGBUILD like so to get a build without hassling with /etc/makepkg.conf:
build() {
export CFLAGS="${CFLAGS// -Werror=format-security}"
export CXXFLAGS="$CFLAGS"
MikeWalrus commented on 2022-08-06 08:31 (UTC)
Could you please disable -Werror=format-security within the PKGBUILD?
For example:
CFLAGS=${CFLAGS/-Werror=format-security/}
CXXFLAGS=${CXXFLAGS/-Werror=format-security/}
adaoud6 commented on 2022-07-28 01:22 (UTC)
Hi, can you change the FTP url to HTTP? FTP is generally not well supported these days, especially if you are using a proxy.
effeffe commented on 2022-05-14 22:30 (UTC)
Updated. Please remember to remove -Werror=format-security
from /etc/makepkg.conf under CFLAGS
.
AlePini commented on 2021-08-09 11:03 (UTC) (edited on 2021-08-09 11:05 (UTC) by AlePini)
I found a solution to my previous issue.
as mentioned here https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100207, arch changed /etc/makepkg.conf with the latest pacman-6.0.0 release
I just temporarily deleted this "-Werror=format-security" from CFLAGS and it worked.
Hope this helps
kyak commented on 2021-05-10 14:37 (UTC)
@AlePini that's an upstream bug, see https://bugs.archlinux.org/task/70701
Pinned Comments
torpe23 commented on 2023-01-13 00:31 (UTC)
The naming of this package (and of the related packages) seems incorrect since this cross-compiler does not include support for the libc. It's a simple bare metal cross-compiler. It should probably be renamed into something like
mipsel-none-elf-gcc
ormipsel-unknown-elf-gcc
in order to remove any confusion.