search for: d__assembly__

Displaying 20 results from an estimated 65 matches for "d__assembly__".

Did you mean: __assembly__
2013 Aug 21
0
Build problems: klibc with Linux 3.10.7
...lude -I/root/gen/trunk/knl/linux/usr//include -I/root/gen/trunk/knl/linux/usr//arch/powerpc/include -D__KLIBC__=2 -D__KLIBC_MINOR__=0 -D_BITSIZE=32 -fno-stack-protector -fwrapv -m32 -Os -W -Wall -Wno-sign-compare -Wno-unused-parameter -I/root/ofs/trunk/packages/klibc-2.0.2/usr/klibc/syscalls -D__ASSEMBLY__ -ansi -x c -E -o usr/klibc/syscalls/SYSCALLS.i usr/klibc/SYSCALLS.def ppc-linux-gcc -Wp,-MD,usr/klibc/syscalls/.syscalls.nrs.d -nostdinc -iwithprefix include -I/root/ofs/trunk/packages/klibc-2.0.2/usr/include/arch/ppc -Iusr/include/arch/ppc -I/root/ofs/trunk/packages/klibc-2.0.2/usr/include/bi...
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 Feb 29
0
[klibc:master] Kbuild: Tell gas we don't want executable stacks
...libc +++ b/scripts/Kbuild.klibc @@ -125,7 +125,7 @@ KLIBCDEFS += -D__KLIBC__=$(KLIBCMAJOR) \ KLIBCCPPFLAGS += $(KLIBCDEFS) KLIBCCFLAGS += $(KLIBCCPPFLAGS) $(KLIBCREQFLAGS) $(KLIBCARCHREQFLAGS) \ $(KLIBCOPTFLAGS) $(KLIBCWARNFLAGS) -KLIBCAFLAGS += -D__ASSEMBLY__ $(KLIBCCFLAGS) +KLIBCAFLAGS += -D__ASSEMBLY__ -Wa,--noexecstack $(KLIBCCFLAGS) KLIBCSTRIPFLAGS += --strip-all -R .comment -R .note KLIBCLIBGCC_DEF := $(shell $(KLIBCCC) $(KLIBCCFLAGS) --print-libgcc) diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild index b462fbec..19ccfbec 100644 --- a/u...
2020 Jul 25
0
[klibc:master] Revert " Kbuild: Tell gas we don't want executable stacks"
...libc +++ b/scripts/Kbuild.klibc @@ -125,7 +125,7 @@ KLIBCDEFS += -D__KLIBC__=$(KLIBCMAJOR) \ KLIBCCPPFLAGS += $(KLIBCDEFS) KLIBCCFLAGS += $(KLIBCCPPFLAGS) $(KLIBCREQFLAGS) $(KLIBCARCHREQFLAGS) \ $(KLIBCOPTFLAGS) $(KLIBCWARNFLAGS) -KLIBCAFLAGS += -D__ASSEMBLY__ -Wa,--noexecstack $(KLIBCCFLAGS) +KLIBCAFLAGS += -D__ASSEMBLY__ $(KLIBCCFLAGS) KLIBCSTRIPFLAGS += --strip-all -R .comment -R .note KLIBCLIBGCC_DEF := $(shell $(KLIBCCC) $(KLIBCCFLAGS) --print-libgcc) diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild index 24bad07d..bec9cdb4 100644 --- a/u...
2020 Apr 29
2
[PATCH klibc 1/3] Revert " Kbuild: Tell gas we don't want executable stacks"
...libc +++ b/scripts/Kbuild.klibc @@ -125,7 +125,7 @@ KLIBCDEFS += -D__KLIBC__=$(KLIBCMAJOR) \ KLIBCCPPFLAGS += $(KLIBCDEFS) KLIBCCFLAGS += $(KLIBCCPPFLAGS) $(KLIBCREQFLAGS) $(KLIBCARCHREQFLAGS) \ $(KLIBCOPTFLAGS) $(KLIBCWARNFLAGS) -KLIBCAFLAGS += -D__ASSEMBLY__ -Wa,--noexecstack $(KLIBCCFLAGS) +KLIBCAFLAGS += -D__ASSEMBLY__ $(KLIBCCFLAGS) KLIBCSTRIPFLAGS += --strip-all -R .comment -R .note KLIBCLIBGCC_DEF := $(shell $(KLIBCCC) $(KLIBCCFLAGS) --print-libgcc) diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild index 24bad07d..bec9cdb4 100644 --- a/u...
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
...t;as" became stricter: 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/includ...
2020 Jul 25
0
[klibc:master] Kbuild: Add a per-architecture option to disable exectable stacks
...-D_BITSIZE=$(KLIBCBITSIZE) KLIBCCPPFLAGS += $(KLIBCDEFS) KLIBCCFLAGS += $(KLIBCCPPFLAGS) $(KLIBCREQFLAGS) $(KLIBCARCHREQFLAGS) \ - $(KLIBCOPTFLAGS) $(KLIBCWARNFLAGS) + $(KLIBCOPTFLAGS) $(KLIBCSTACKFLGS) $(KLIBCWARNFLAGS) KLIBCAFLAGS += -D__ASSEMBLY__ $(KLIBCCFLAGS) KLIBCSTRIPFLAGS += --strip-all -R .comment -R .note diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild index bec9cdb4..c6338851 100644 --- a/usr/klibc/Kbuild +++ b/usr/klibc/Kbuild @@ -185,6 +185,7 @@ quiet_cmd_interp = BUILD $@ cmd_interp = $(KLIBCCC) $(klibccflags) -D__A...
2008 Feb 26
2
3.62-pre16: Compiling on old (2.4 kernel) distros
I have put a compile hack in for older distros and pushed it out as syslinux-3.62-pre16; for those who have reported compilation problem on older distros I would greatly appreciate if you could confirm if it works now (it worked for me on a CentOS 3.9 VM.) -hpa
2006 Nov 20
1
compilation bug
...rith -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_VISIBILITY_ATTRIBUTE -g -D__XEN__ -D__ASSEMBLY__ -c exits.S -o exits.o ld -m elf_x86_64 -r -o built_in.o exits.o make[8]: Leaving directory `/home/test1/xen-unstable/xen/arch/x86/hvm/svm/x86_64'' ld -m elf_x86_64 -r -o built_in.o emulate.o intr.o svm.o vmcb.o x86_64/built_in.o make[7]: Leaving directory `/home/test1/xen-unstable/xen/a...
2008 Sep 26
3
SYSLINUX 3.72 released
Well, it has to happen at some point, so I have officially pushed out SYSLINUX 3.72. The big news in this release is of course the ISOLINUX hybrid mode support (a single image which can be booted either from a CD-ROM or from a hard disk/USB stick), but there are plenty of more goodies in here, including the label listing (not technically completion) on the Tab key. As usual, huge thanks to
2020 Mar 27
2
[PATCH v2 1/5] Kbuild: add support for clang builds
...CPPFLAGS += -I$(KLIBCINC)/arch/$(KLIBCARCHDIR) \ -I$(KLIBCINC)/bits$(KLIBCBITSIZE) \ -I$(KLIBCOBJ)/../include \ -I$(KLIBCINC) @@ -128,7 +135,13 @@ KLIBCCFLAGS += $(KLIBCCPPFLAGS) $(KLIBCREQFLAGS) $(KLIBCARCHREQFLAGS) \ KLIBCAFLAGS += -D__ASSEMBLY__ -Wa,--noexecstack $(KLIBCCFLAGS) KLIBCSTRIPFLAGS += --strip-all -R .comment -R .note +# KLIBCLIBGCC_DEF appears to be unnecessary since klibc never uses -nostdlib +# when linking binaries, which means that any compiler specific libraries +# should be available automatically, no need to speciy a...
2005 Jul 26
2
[PATCH] better kbuild integration
...) \ - $(USERWARNFLAGS) + -D__KLIBC__=1 -D__KLIBC_MINOR__=0 \ + -DBITSIZE=$(BITSIZE) +USERCFLAGS := $(USERCPPFLAGS) $(REQFLAGS) $(ARCHREQFLAGS) \ + $(OPTFLAGS) $(USERWARNFLAGS) USERAFLAGS := -D__ASSEMBLY__ $(USERCPPFLAGS) USERSTRIPFLAGS := --strip-all -R .comment -R .note @@ -201,6 +201,7 @@ __build : $(user-dirs) $(user-progs) # Descend if needed $(sort $(addsuffix /built-in.o,$(user-dirs))): $(user-dirs) ; +# link program that has only a single .o file quiet_cmd_user-ld-single = USERLD $@...
2020 Feb 11
0
[PATCH 07/62] x86/boot/compressed/64: Disable red-zone usage
...ile +++ b/arch/x86/boot/Makefile @@ -65,7 +65,7 @@ clean-files += cpustr.h # --------------------------------------------------------------------------- -KBUILD_CFLAGS := $(REALMODE_CFLAGS) -D_SETUP +KBUILD_CFLAGS := $(REALMODE_CFLAGS) -D_SETUP -mno-red-zone KBUILD_AFLAGS := $(KBUILD_CFLAGS) -D__ASSEMBLY__ KBUILD_CFLAGS += $(call cc-option,-fmacro-prefix-map=$(srctree)/=) GCOV_PROFILE := n diff --git a/arch/x86/boot/compressed/Makefile b/arch/x86/boot/compressed/Makefile index 26050ae0b27e..e186cc0b628d 100644 --- a/arch/x86/boot/compressed/Makefile +++ b/arch/x86/boot/compressed/Makefile @@ -30,7...
2020 Jul 24
0
[PATCH v5 11/75] x86/boot/compressed/64: Disable red-zone usage
...akefile +++ b/arch/x86/boot/Makefile @@ -66,7 +66,7 @@ targets += cpustr.h # --------------------------------------------------------------------------- -KBUILD_CFLAGS := $(REALMODE_CFLAGS) -D_SETUP +KBUILD_CFLAGS := $(REALMODE_CFLAGS) -D_SETUP -mno-red-zone KBUILD_AFLAGS := $(KBUILD_CFLAGS) -D__ASSEMBLY__ KBUILD_CFLAGS += $(call cc-option,-fmacro-prefix-map=$(srctree)/=) KBUILD_CFLAGS += -fno-asynchronous-unwind-tables diff --git a/arch/x86/boot/compressed/Makefile b/arch/x86/boot/compressed/Makefile index 5a828fde7a42..416f52ab39ec 100644 --- a/arch/x86/boot/compressed/Makefile +++ b/arch/x86/boo...
2010 Feb 03
1
[LLVMdev] Compiling Linux Kernel
Does anyone have experience to compile Linux kernel in LLVM-2.6? I am working on a C/C++ race detection framework and want to test in large applications. But I do have a lot of errors while compiling Linux kernel 2.6.3 using LLVM-2.6. Actually, I only need to get the .bc bitcode file. Anyboy does similar work before? Which Linux kernel version is used and any skills? Thanks. Lei /****** * Lei
2005 Oct 12
1
compile error
...pigen acpi.bin make[4]: Leaving directory `/setup/xen/xen-unstable/tools/firmware/acpi'' make[4]: Entering directory `/setup/xen/xen-unstable/tools/firmware/vmxassist'' gcc -DDEBUG -DTEXTADDR=0x000D0000 -I. -I../../../tools/libxc -Wall -fno-builtin -O2 -msoft-float -m32 -march=i686 -D__ASSEMBLY__ -DDEBUG -DTEXTADDR=0x000D0000 - c head.S gcc -DDEBUG -DTEXTADDR=0x000D0000 -I. -I../../../tools/libxc -Wall -fno-builtin -O2 -msoft-float -m32 -march=i686 -o gen gen.c /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: ski pping incompatible /usr/lib64/gcc/x86_64-suse-linu...
2005 Oct 12
1
compile error
...pigen acpi.bin make[4]: Leaving directory `/setup/xen/xen-unstable/tools/firmware/acpi'' make[4]: Entering directory `/setup/xen/xen-unstable/tools/firmware/vmxassist'' gcc -DDEBUG -DTEXTADDR=0x000D0000 -I. -I../../../tools/libxc -Wall -fno-builtin -O2 -msoft-float -m32 -march=i686 -D__ASSEMBLY__ -DDEBUG -DTEXTADDR=0x000D0000 - c head.S gcc -DDEBUG -DTEXTADDR=0x000D0000 -I. -I../../../tools/libxc -Wall -fno-builtin -O2 -msoft-float -m32 -march=i686 -o gen gen.c /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: ski pping incompatible /usr/lib64/gcc/x86_64-suse-linu...
2020 Mar 28
0
[PATCH v2 1/5] Kbuild: add support for clang builds
...NC)/arch/$(KLIBCARCHDIR) \ > -I$(KLIBCINC)/bits$(KLIBCBITSIZE) \ > -I$(KLIBCOBJ)/../include \ > -I$(KLIBCINC) > @@ -128,7 +135,13 @@ KLIBCCFLAGS += $(KLIBCCPPFLAGS) $(KLIBCREQFLAGS) $(KLIBCARCHREQFLAGS) \ > KLIBCAFLAGS += -D__ASSEMBLY__ -Wa,--noexecstack $(KLIBCCFLAGS) > KLIBCSTRIPFLAGS += --strip-all -R .comment -R .note > > +# KLIBCLIBGCC_DEF appears to be unnecessary since klibc never uses -nostdlib > +# when linking binaries, which means that any compiler specific libraries > +# should be available automatic...
2005 Jul 30
3
kbuild updates to klibc
Hi Peter & others. Here are three patches that does the following: #1 - Update kbuild part of klibc so make clean works Adds gzip including a sample kbuild file #2 - Factor out definition of usr/ to two variables #3 - Move kbuild files to reflect location in the kernel As requested in earlier mail I need a bit of guidiance of what you expect from the kernel integrated parts of klibc.
2005 Jul 28
0
[PATCH] Use KLIBSRC + KLIBINC consistent in kbuild files
...an-files += $(objtree)/usr/include/klibc/havesyscall.h +clean-files += $(KLIBINC)/klibc/havesyscall.h # All the syscall stubs clean-files += *.o *.S *.c @@ -37,29 +35,29 @@ $(obj)/syscalls.o: $(call objectify,$(sy quiet_cmd_syscall.i = GEN $@ cmd_syscall.i = $(USERCC) $(usercflags) -D__ASSEMBLY__ \ -ansi -x assembler-with-cpp -E -o $@ $< -$(obj)/SYSCALLS.i: $(klibc-dir)/SYSCALLS.def FORCE +$(obj)/SYSCALLS.i: $(KLIBSRC)/SYSCALLS.def FORCE $(call if_changed_dep,syscall.i) # Get syscalls numbers quiet_cmd_syscall.nrs = GEN $@ cmd_syscall.nrs...