Displaying 20 results from an estimated 93 matches for "iwithprefix".
2020 May 21
5
Understanding the version handling in LLVM/Clang/LLD
...D_VERSION_MAJOR
- ${LLD_VERSION})
-string(REGEX REPLACE "[0-9]+\\.([0-9]+)(\\.[0-9]+)?" "\\1" LLD_VERSION_MINOR
- ${LLD_VERSION})
-
That worked like expected for clang-10 and ld.lld with "-v" and/or
"--version" options.
A clang-test FAILED... Preprocessor/iwithprefix.c (below when using
LLVM_VERSION_SUFFIX = "git"):
This is because of the "rc1" string in the include path ("git" accordingly):
lib/clang/10.0.1rc1/include
To fix this up (maybe someone can help to recognize "git" and "rc[1-9]"):
[ clang/test/...
2018 Aug 02
1
[PATCH 1/2] Add fabs() implementation
When we add -ffreestanding the compiler won't get to inline this any more.
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
com32/lib/math/fabs.S | 15 +++++++++++++++
mk/lib.mk | 2 +-
2 files changed, 16 insertions(+), 1 deletion(-)
create mode 100644 com32/lib/math/fabs.S
diff --git a/com32/lib/math/fabs.S b/com32/lib/math/fabs.S
new file mode 100644
index
2013 Aug 21
0
Build problems: klibc with Linux 3.10.7
...t; klcc/klibc.config
echo 'KCROSS=' >> klcc/klibc.config
echo 'CC=ppc-linux-gcc' >> klcc/klibc.config
echo 'LD=ppc-linux-ld' >> klcc/klibc.config
echo 'REQFLAGS=-D__KLIBC__=2 -D__KLIBC_MINOR__=0 -D_BITSIZE=32 -fno-stack-protector -fwrapv -m32 -nostdinc -iwithprefix include -D__KLIBC__=2 -D__KLIBC_MINOR__=0 -D_BITSIZE=32' >> klcc/klibc.config
echo 'OPTFLAGS= -Os' >> klcc/klibc.config
echo 'LDFLAGS=-m elf32ppclinux' >> klcc/klibc.config
echo 'STRIP=ppc-linux-strip' >> klcc/klibc.config
echo 'STRIPFLAGS=--s...
2013 Aug 21
5
Build problems: klibc with Linux 3.10.7
On Tue, Aug 20, 2013 at 07:44:39AM +0200, leroy christophe wrote:
> >
> Find attached two patches I have in order to build klibc 2.0.2
> against kernel 3.8.13
> We had to introduce those patches when going from kernel 3.6 to kernel 3.7
> Hope it helps.
>
those patches are wrong and again very brittle.
just use the way it is described in `make help':
A) cd ~/src/linux
2006 Nov 20
1
compilation bug
Hello
When i try to make world (any) from xen-3.0.2 to xen-unstable-src I
gat following error :
gcc -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes
-Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common
-fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith
-pipe -I/home/test1/xen-unstable/xen/include
-I/home/test1/xen-unstable/xen/include/asm-x86/mach-generic
-I/home/test1/xen-unstable/xen/include/asm-x86/mach-default
-msoft-float -mno-red-zone -fpic -fno-reorder-blocks
-fno-asynchronous-unwind-tables -DGCC_HAS_VISI...
2020 Mar 27
2
[PATCH v2 1/5] Kbuild: add support for clang builds
...c-name.
Don't use -nostdinc when building klibc.
While klibc doesn't (shouldn't) use the standard header files
supplied by the toolchain, it does still need to be able to find
the compiler-specific header file <stdarg.h>. With gcc this can
be achieved by specifying "-iwithprefix include" in addition to
"-nostdinc". clang behaves differently and the easiest work around
is to simply not specify "-nostdinc" and rely on the fact that
the various include paths have been specified correctly so that
the only header file actually pulled in from the...
2020 Mar 28
0
[PATCH v2 1/5] Kbuild: add support for clang builds
...com>
>
> Add cc-name to klibc/scripts/Kbuild.include.
[...]
> --- a/scripts/Kbuild.klibc
> +++ b/scripts/Kbuild.klibc
> @@ -107,8 +107,15 @@ KLIBCOBJCOPY := $(OBJCOPY)
> KLIBCOBJDUMP := $(OBJDUMP)
>
> # klibc include paths
> -KLIBCCPPFLAGS := -nostdinc -iwithprefix include \
> - -I$(KLIBCINC)/arch/$(KLIBCARCHDIR) \
> +ifeq ($(cc-name),clang)
> +# clang can't find the compiler-specific header <stdarg.h> if -nostdinc
> +# is specified so we have to omit it along with the -iwithprefix option.
> +# See b/35394554.
This seems to be a...
2005 Jan 19
1
build klibc with gcc 2.96 fails
I get the following error:
make[1]: Entering directory `/home/greg/src/klibc/klibc-0.196/klibc'
gcc -Wp,-MT,__static_init.o,-MD,./.__static_init.o.d -march=i386 -Os -g -malign-functions=0 -malign-jumps=0 -malign-loops=0 -nostdinc -iwithprefix include -D__KLIBC__ -DBITSIZE=32 -I.. /include/arch/i386 -I../include/bits32 -I../include -I../linux/include -I../linux/include2 -I ../linux/include -DWITH_ERRLIST -W -Wall -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winline -c -o __static_init.o __static_init.c
Usage: cpp [switches] input...
2011 Mar 30
0
(fwd) Bug#618616: arm build failure with latest binutils - usr/klibc/syscalls/_exit.S:29: Error: .size expression does not evaluate to a constant
...r:
http://sourceware.org/bugzilla/show_bug.cgi?id=12519
binutils 20110225 and later would break klibc's builds as follows:
TYPE unsigned int: size 4, sign 0
TYPE unsigned long: size 4, sign 0
TYPE void *: size 4, sign 0
gcc -Wp,-MD,usr/klibc/syscalls/._exit.o.d -D__ASSEMBLY__ -nostdinc -iwithprefix include -I/build/buildd/klibc-1.5.20/usr/include/arch/arm -Iusr/include/arch/arm -I/build/buildd/klibc-1.5.20/usr/include/bits32 -Iusr/include/bits32 -I/build/buildd/klibc-1.5.20/usr/klibc/../include -Iusr/klibc/../include -I/build/buildd/klibc-1.5.20/usr/include -Iusr/include -I/build/buildd/klibc...
2011 May 03
2
Bug#625438: xen: ftbfs with gcc-4.6 -Werror
Package: xen
Version: 4.1.0-3
Severity: important
Tags: wheezy sid
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-4.6 ftbfs-werror
This package builds with -Werror, and GCC 4.6 triggers new warnings
which will make the package fail to build. Currently a Debian patch
just passes
-Wno-error=unused-but-set-variable and
-Wno-error=unused-but-set-parameter
to avoid build failures,
2020 Mar 27
12
[PATCH 0/5] Clang compatibility patches
This is a series of patches for clang compatibility:
- Using flags needed flags and removing unsupported flags.
- Adding support for clang's LLD linker.
- Removing a variety of warnings.
Bill Wendling (3):
[klibc] Kbuild: use "libc.a" with clang
[klibc] Kbuild: Add "-fcommon" for clang builds
[klibc] Clean up clang warnings
Michael Davidson (1):
[klibc] Kbuild:
2008 Aug 22
1
syslinux-3.71-21-gbd09a6d - build breakage
Got the following trying to build git master:
gcc -std=gnu99 -m32 -fno-stack-protector -mregparm=3 -DREGPARM=3 -march=i386 -Os -W -Wall -march=i386 -fomit-frame-pointer -D__COM32__
-nostdinc -iwithprefix include -I../../com32/libutil/include -I../../com32/include -c -o chain.o chain.c
ld -m elf_i386 -T ../../com32/lib/com32.ld -o chain.elf chain.o ../../com32/libutil/libutil_com.a ../../com32/lib/libcom32.a
/usr/lib/gcc/i486-linux-gnu/4.2.1/libgcc.a
objcopy -O binary chain.elf chain.c32
gcc -std=g...
2010 Jul 28
1
syslinux-4.02-6-ge841d69 build failure
...-exceptions -fno-asynchronous-unwind-tables -fno-strict-aliasing
-falign-functions=0 -falign-jumps=0 -falign-labels=0 -falign-loops=0 -mpreferred-stack-boundary=2 -mincoming-stack-boundary=2
-g -W -Wall -Wstrict-prototypes -Wno-clobbered -Werror -Wno-sign-compare -g -include code16.h -nostdinc -iwithprefix
include -I. -I.. -I../libfat -I ../libinstaller -I ../libinstaller/getopt -D__MSDOS__ -c -o syslxopt.o
../libinstaller/syslxopt.c
cc1: warnings being treated as errors
../libinstaller/syslxopt.c: In function 'usage':
../libinstaller/syslxopt.c:117: error: enumeration value 'MODE_EXTLI...
2004 Oct 19
1
times.h and building ash
I get this with current linus bk now and klibc 187
[jonsmirl@smirl ash]$ make
sh mknodes.sh nodetypes nodes.c.pat .
gcc -Wp,-MD,.cd.d -mregparm=3 -DREGPARM=3 -march=i386 -Os -g
-falign-functions=0 -falign-jumps=0 -falign-loops=0 -nostdinc
-iwithprefix include -D__KLIBC__ -DBITSIZE=32 -I../include/arch/i386
-I../include/bits32 -I../include -I../linux/include -I../linux/include2
-I../linux/include -DSHELL -DJOBS=0 -I. -c -o cd.o cd.c
gcc -Wp,-MD,.eval.d -mregparm=3 -DREGPARM=3 -march=i386 -Os -g
-falign-functions=0 -falign-jumps=0 -falign-loops...
2005 Jan 08
1
problems with 2.4.28 + Julian''s patch
..., I get the following when I attempt to build my kernel. Any ideas?
Thanks!
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -fno-unit-at-a-time -nostdinc -iwithprefix include -DKBUILD_BASENAME=fib_frontend -c -o fib_frontend.o fib_frontend.c
fib_frontend.c: In function `fib_validate_source'':
/usr/src/linux/include/net/ip_fib.h:178: sorry, unimplemented: inlining failed in call to ''fib_result_table'': function body not available
fib_fro...
2004 Oct 16
1
0.184 -- gcc: warning: `-x c' after last input file has no effect
What do I need to do to fix this?
[jonsmirl@smirl klibc-0.184]$ make
make[1]: Entering directory `/home/dri/klibc-0.184/klibc'
gcc -Wp,-MT,syscalls.nrs,-MD,./.syscalls.nrs.d -mregparm=3 -DREGPARM=3
-march=i386 -Os -g -falign-functions=0 -falign-jumps=0 -falign-loops=0
-nostdinc -iwithprefix include -D__KLIBC__ -DBITSIZE=32
-I../include/arch/i386 -I../include/bits32 -I../include
-I../linux/include -I../linux/include2 -I../linux/include
-DWITH_ERRLIST -W -Wall -Wpointer-arith -Wwrite-strings
-Wstrict-prototypes -Winline -Wp,-dM -x c -E -o syscalls.nrs
gcc: warning: `-x c' after last...
2019 Sep 12
0
Fwd: Launchpad [Bug 1843743] [NEW] klibc ftbfs in eoan
...5:12 -0000
Subject: [Bug 1843743] [NEW] klibc ftbfs in eoan
Reply-To: Bug 1843743 <1843743 at bugs.launchpad.net>
Public bug reported:
https://launchpadlibrarian.net/441262209/buildlog_ubuntu-eoan-
amd64.klibc_2.0.6-1ubuntu1_BUILDING.txt.gz
gcc -Wp,-MD,usr/klibc/.sigsuspend.o.d -nostdinc -iwithprefix include -I/<<PKGBUILDDIR>>/usr/include/arch/x86_64 -Iusr/include/arch/x86_64 -I/<<PKGBUILDDIR>>/usr/include/bits64 -Iusr/include/bits64 -I/<<PKGBUILDDIR>>/usr/klibc/../include -Iusr/klibc/../include -I/<<PKGBUILDDIR>>/usr/include -Iusr/include -I/<...
2004 Oct 18
3
arch/ia64/pipe.c:5:23: syscommon.h: No such file or directory
Peter,
current klibc does not compile in ia64:
gcc -Wp,-MT,arch/ia64/pipe.o,-MD,arch/ia64/.pipe.o.d -Os -fomit-frame-pointer -nostdinc -iwithprefix include -D__KLIBC__ -DBITSIZE=64 -I../include/arch/ia64 -I../include/bits64 -I../include -I../linux/include -I../linux/include2 -I../linux/include -DWITH_ERRLIST -W -Wall -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winline -c -o arch/ia64/pipe.o arch/ia64/pipe.c
arch/ia64/pipe.c:5:23: sysc...
2005 Feb 25
1
klibc wrapper
...nclude dependency] tests/.hello.o.d
-mregparm=3 -DREGPARM=3 [Control how many registers are used to pass integer arguments]
-march=i386 [arch] -Os [optimization] -g [debug info]
-falign-functions=0 -falign-jumps=0 -falign-loops=0 [I think they are to optimize for size]
-nostdinc -iwithprefix [include dir prefix] include -D__KLIBC__ -DBITSIZE=32
-I -I ... -DWITH_ERRLIST
-W -Wall -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winline -c -o tests/hello.o
crt0.o tests/hello.o libc.a /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/libgcc.a
ld -o tests/hello crt0.o...
2009 Sep 15
1
[PATCH] add linux' arch/$ARCH/include to search path From: Marc Kleine-Budde <mkl@pengutronix.de> Date: Mon, 5 Jan 2009 17:46:47 +0100
...e of the includes from linux'
include/asm-$ARCH to arch/$ARCH/asm, klibc fails to compile,
because the in-linux-header files include from asm/, but this
is not in the header search path.
e.g. against linux-2.6.27 arm:
arm-iwmmx-linux-gnueabi-gcc -Wp,-MD,usr/klibc/.vsnprintf.o.d -nostdinc -iwithprefix include -Iusr/include/arch/arm -Iusr/include/bits32 -Iusr/klibc/../include -Iusr/include -Ilinux/include -D__KLIBC__=1 -D__KLIBC_MINOR__=5 -D_BITSIZE=32 -fno-stack-protector -fno-exceptions -mabi=aapcs-linux -mno-thumb-interwork -Os -march=armv4 -mtune=strongarm -W -Wall -Wno-sign-compare -Wno...