Displaying 20 results from an estimated 240 matches for "nostdinc".
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
...39; >> 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 '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
2020 Mar 27
2
[PATCH v2 1/5] Kbuild: add support for clang builds
From: Michael Davidson <md at google.com>
Add cc-name to klibc/scripts/Kbuild.include.
Make optimization flags not supported by clang conditional on cc-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 add...
2011 May 26
20
[PATCH] xen: Deal with stdarg.h and -nostdinc
For compiling the xen kernel we use -nostdinc which means
we don''t want to rely on any external headers.
That also counts vor stdarg.h.
Use the external header when we compile the tools.
Adapt libelf-loader.c which is compiled in the kernel
and with the tools.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
--
---to...
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-re...
2008 Oct 31
3
[LLVMdev] gfortran link failure in current llvm svn
...s) %{J*} %{I*}\
+ f951 %|.f %{!ffree-form:-ffixed-form} %(cc1_options) \
+ %<Wformat %<Wformat-security %<Wno-format-extra-args %<Wno-format-
zero-length %<Wno-nonull \
+ %{J*} %{I*}\
"/* LLVM LOCAL */" \
%(llvm_options) \
-fpreprocessed %{!nostdinc:-I finclude%s} %{!fsyntax-only:%
(invoke_as)}}}}", 0, 0, 0},
@@ -25,21 +27,27 @@
"cc1 -E -lang-fortran -traditional-cpp -D_LANGUAGE_FORTRAN %
(cpp_options) \
%{E|M|MM:%(cpp_debug_options)}\
%{!M:%{!MM:%{!E: -o %|.f95 |\n\
- f951 %|.f95 %{!ffixed-form:-ffree-form}...
2011 Apr 07
5
why are warning be treated as errors?
Hello,
I am trying to compile RHEL-6 kernel srpm on Fedora 14 and run into the following problem. From what I read
-Werror flag causes warnings to be treated as errors - but I don't see that flag on in the following. Any ideas?
gcc -Wp,-MD,arch/x86/kernel/acpi/realmode/.wakemain.o.d -nostdinc -isystem /usr/lib/gcc/i686-redhat-linux/4.5.1/include -nostdinc -isystem /usr/lib/gcc/i686-redhat-linux/4.5.1/include -Iinclude -I/home/sclark/rpmbuild/BUILD/kernel-2.6.32/arch/x86/include -include include/linux/autoconf.h -D__KERNEL__ -Iinclude -I/home/sclark/rpmbuild/BUILD/kernel-2.6.32/arch/x86...
2008 Oct 31
0
[LLVMdev] gfortran link failure in current llvm svn
On Oct 30, 2008, at 5:23 PM, Jack Howarth wrote:
> ps We do have one oddity left in llvm-gfortran from current llvm
> svn. I find everytime I compile something with llvm-gfortran that
> I get a series of warning messages...
>
> f951: warning: command line option "-Wformat" is valid for C/C++/
> ObjC/ObjC++ but not for Fortran
> f951: warning: command line option
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:
2003 Aug 09
18
[releng_4 tinderbox] failure on i386/i386
TB --- 2003-08-09 16:00:11 - starting RELENG_4 tinderbox run for i386/i386
TB --- 2003-08-09 16:00:11 - checking out the source tree
TB --- cd /home/des/tinderbox/RELENG_4/i386/i386
TB --- /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -rRELENG_4 src
TB --- 2003-08-09 16:00:11 - /usr/bin/cvs returned exit code 1
TB --- 2003-08-09 16:00:11 - ERROR: unable to check out the source tree
TB ---
2003 Jul 20
0
[-STABLE tinderbox] failure on i386/pc98
...TB --- /usr/bin/make buildkernel KERNCONF=GENERIC
>>> Kernel build for GENERIC started on Mon Jul 21 06:02:33 GMT 2003
[...]
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/vol/vol0/users/des/tinderbox/RELENG_4/i386/pc98/src/sys -I/vol/vol0/users/des/tinderbox/RELENG_4/i386/pc98/src/sys/../include -I/vol/vol0/users/des/tinderbox/RELENG_4/i386/pc98/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -mpreferred-stack-boundary=2 /vol/vol0/users/des/ti...
2003 Oct 01
0
[releng_4 tinderbox] failure on alpha/alpha
...usr/bin/make buildkernel KERNCONF=GENERIC
>>> Kernel build for GENERIC started on Thu Oct 2 04:41:55 GMT 2003
[...]
cc -c -O -pipe -mcpu=ev4 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/vol/vol0/users/des/tinderbox/RELENG_4/alpha/alpha/src/sys -I/vol/vol0/users/des/tinderbox/RELENG_4/alpha/alpha/src/sys/../include -I/vol/vol0/users/des/tinderbox/RELENG_4/alpha/alpha/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h -mno-fp-regs -Wa,-mev56 /vol/vol0/users/des/t...
2003 Oct 01
0
[releng_4 tinderbox] failure on i386/i386
...TB --- /usr/bin/make buildkernel KERNCONF=GENERIC
>>> Kernel build for GENERIC started on Thu Oct 2 05:16:57 GMT 2003
[...]
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -nostdinc -I- -I. -I/vol/vol0/users/des/tinderbox/RELENG_4/i386/i386/src/sys -I/vol/vol0/users/des/tinderbox/RELENG_4/i386/i386/src/sys/../include -I/vol/vol0/users/des/tinderbox/RELENG_4/i386/i386/src/sys/contrib/dev/acpica -I/vol/vol0/users/des/tinderbox/RELENG_4/i386/i386/src/sys/contrib/ipfilter -D_KERN...
2005 May 16
1
[PATCH] Makefile include path ordering
...l <riel@redhat.com>
--- linux-2.6.11/Makefile.order 2005-05-16 16:20:20.000000000 -0400
+++ linux-2.6.11/Makefile 2005-05-16 16:21:30.000000000 -0400
@@ -530,7 +530,7 @@
include $(srctree)/arch/$(ARCH)/Makefile
# arch Makefile may override CC so keep this after arch Makefile is included
-NOSTDINC_FLAGS := -nostdinc -isystem $(shell $(CC) -print-file-name=include)
+NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include)
CHECKFLAGS += $(NOSTDINC_FLAGS)
# warn about C99 declaration after statement
_______________________________________________
Xen-devel mailing l...
2011 Dec 16
2
[LLVMdev] striping of stdio information in llvm-gcc and clang
On Thu, Dec 15, 2011 at 08:43:01PM -0800, Eli Friedman wrote:
> clang's cross-compilation support isn't really mature; you might be
> able to get away with specifying "-ccc-host-triple sparc-sun-solaris
> -nostdinc -I /path/to/sparc/headers/".
Please read that as "clang's cross-compilation support is not magical".
It's not a question of maturity that different Operation Systems and
architectures have incompatible libc ABIs encoded in the system headers.
Joerg
2004 Feb 11
48
Kernel panic while compiling kernel
I know you Xen developers are beginning to hate me ;) but...
While trying to compile 2.4.24 under DOM0, quickly after issuing ''make dep'' I
got:
Kernel panic: Failed mmu update: c015bf80, 4
I suspect this address probably isn''t to helpful but this is all I have. I am
currently booted in 2.4.21-SuSE and compiling the 2.4.24 regarding another
thread here.
Regarding
2020 Mar 28
0
[PATCH v2 1/5] Kbuild: add support for clang builds
...at google.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...
2013 Oct 15
2
[LLVMdev] Unwanted push/pop on Cortex-M.
...ut_char( char ch );
>
> void out_char( char ch )
> {
> platform_putchar (0, ch);
> }
>
> I'm compiling with the following clang invocation:
>
> $ /usr/local/vendor/toolchains/llvm/3.3/armv7m/bin/armv7m-none-eabi-clang
> -mcpu=cortex-m4 -mfloat-abi=soft -mthumb -nostdinc -ffreestanding
> -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti
> -fomit-frame-pointer -momit-leaf-frame-pointer -nostdinc -v -Os -S -o
> a.s a.c
> vendor-clang version 3.3 (tags/RELEASE_33/final) (based on LLVM 3.3)
> Target: armv7m-none--eabi
> Thread model: posix...
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 [sw...