search for: regparm

Displaying 20 results from an estimated 102 matches for "regparm".

2011 Sep 16
3
[LLVMdev] help with an error message using clang ?
...I have been trying to compile some C code on a linux x86 computer for a Sparc machine. I used: clang -ccc-host-triple sparc-unknown-linux -ccc-clang-archs sparc -pthreads -lm -emit-llvm test.c -c -o -test.bc The following error messages are produced: /usr/include/pthread.h:665:6: error: 'regparm' is not valid on this platform __cleanup_fct_attribute; ^~~~~~~~~~~~~~~~~~~~~~~ In file included from TEST.C:46: In file included from /usr/include/stdlib.h:320: In file included from /usr/include/sys/types.h:271: /usr/include/bits/pthreadtypes.h:222:50: note: instantiated from: # def...
2007 Oct 06
1
GFS-kernel module - Version Magic Error
...ith the version 2.6.9-55.0.9.EL available ? I tried to compile the Source RPMs available from the Red Hat site but the modules can't be loaded because of invalid module format arising from version magic issues. The syslog shows: node0 kernel: gfs: version magic '2.6.9-55.0.9.ELsmp SMP 686 REGPARM 4KSTACKS gcc-3.2' should be '2.6.9-55.0.9.ELsmp SMP 686 REGPARM 4KSTACKS gcc-3.4' node0 modprobe: FATAL: Error inserting gfs (/lib/modules/2.6.9-55.0.9.ELsmp/kernel/fs/gfs/gfs.ko): Invalid module format The error message is actually surprising since the Source RPM has been compiled on...
2004 Aug 09
3
Fedora FC2 and Zaptel (Torisa)
...r inserting zaptel (/lib/modules/2.6.5-1.358smp/misc/zaptel.ko): Invalid module format FATAL: Error inserting tor2 (/lib/modules/2.6.5-1.358smp/misc/tor2.ko): Invalid module format FATAL: Error running install command for tor2 A dmesg shows this: tor2: version magic '2.6.5-1.358custom SMP 686 REGPARM 4KSTACKS gcc-3.3' should be '2.6.5-1.358smp SMP 686 REGPARM 4KSTACKS gcc-3.3'
2011 Sep 16
0
[LLVMdev] help with an error message using clang ?
...a linux x86 computer for a > Sparc machine. > > I used: > >  clang -ccc-host-triple sparc-unknown-linux -ccc-clang-archs sparc -pthreads > -lm  -emit-llvm test.c -c -o -test.bc > > The following error messages are produced: > > /usr/include/pthread.h:665:6: error: 'regparm' is not valid on this platform >      __cleanup_fct_attribute; >      ^~~~~~~~~~~~~~~~~~~~~~~ > In file included from TEST.C:46: > In file included from /usr/include/stdlib.h:320: > In file included from /usr/include/sys/types.h:271: > /usr/include/bits/pthreadtypes.h:222:50:...
2004 Apr 12
4
Invalid module format in 2.6.5 after running make linux26
[root@asterisk zaptel]# modprobe ztdummy WARNING: Error inserting zaptel (/lib/modules/2.6.5-1.315/misc/zaptel.ko): Invalid module format WARNING: Error inserting zaptel (/lib/modules/2.6.5-1.315/misc/zaptel.ko): Invalid module format FATAL: Error inserting ztdummy (/lib/modules/2.6.5-1.315/misc/ztdummy.ko): Invalid module format FATAL: Error running install command for ztdummy [root@asterisk
2008 Jan 03
1
[RFC PATCH 01/11] Add basic support for gcc profiler instrumentation
[Added Chris Wright, Rusty and Virt list because they were involved with this issue before] On Thu, 3 Jan 2008, Ingo Molnar wrote: > > * Steven Rostedt <rostedt@goodmis.org> wrote: > > > +# function tracing might turn this off: > > +config REGPARM > > + bool > > + depends on !MCOUNT > > + default y > > are you sure -pg really needs this? Nope! Arnaldo and I only carried it because you had it ;-) > I just carried this along the years > and went the path of least resistence, but we should not be > reintroduci...
2008 Jan 03
1
[RFC PATCH 01/11] Add basic support for gcc profiler instrumentation
[Added Chris Wright, Rusty and Virt list because they were involved with this issue before] On Thu, 3 Jan 2008, Ingo Molnar wrote: > > * Steven Rostedt <rostedt@goodmis.org> wrote: > > > +# function tracing might turn this off: > > +config REGPARM > > + bool > > + depends on !MCOUNT > > + default y > > are you sure -pg really needs this? Nope! Arnaldo and I only carried it because you had it ;-) > I just carried this along the years > and went the path of least resistence, but we should not be > reintroduci...
2004 Jul 27
1
warning killing for poor !LANG=C|US people
--- ../multipath-tools-0.2.8.1/klibc/klibc/arch/i386/MCONFIG 2004-07-20 10:51:42.000000000 +0200 +++ klibc/klibc/arch/i386/MCONFIG 2004-07-27 17:10:12.000000000 +0200 @@ -13,7 +13,7 @@ # them to be cdecl # REGPARM = -mregparm=3 -DREGPARM -gcc_major := $(shell $(CC) -v 2>&1 | awk '/gcc version/{print int($$3)}') +gcc_major := $(shell unset LANG;$(CC) -v 2>&1 | awk '/gcc version/{print int($$3)}') OPTFLAGS = $(REGPARM) -march=i386 -Os --
2010 Apr 19
0
redhat4.6-32bit DomU with pv driver can''t be saved
...tform_pci 73692 3 xen_vnif,xen_balloon,xen_vbd,[permanent] [root@localhost ~]# modinfo xen_vnif filename: /lib/modules/2.6.9-67.ELsmp/extra/xenpv/0.1-10.el4/xen-vnif.ko alias: xen:vif alias: xen:vif license: Dual BSD/GPL vermagic: 2.6.9-67.ELsmp SMP 686 REGPARM 4KSTACKS gcc-3.4 depends: xen-platform-pci,xen-balloon [root@localhost ~]# modinfo xen_balloon filename: /lib/modules/2.6.9-67.ELsmp/extra/xenpv/0.1-10.el4/xen-balloon.ko license: Dual BSD/GPL vermagic: 2.6.9-67.ELsmp SMP 686 REGPARM 4KSTACKS gcc-3.4 depends: xen-...
2010 Apr 19
0
redhat4.6-32bit DomU with pv driver can''t be saved
...tform_pci 73692 3 xen_vnif,xen_balloon,xen_vbd,[permanent] [root@localhost ~]# modinfo xen_vnif filename: /lib/modules/2.6.9-67.ELsmp/extra/xenpv/0.1-10.el4/xen-vnif.ko alias: xen:vif alias: xen:vif license: Dual BSD/GPL vermagic: 2.6.9-67.ELsmp SMP 686 REGPARM 4KSTACKS gcc-3.4 depends: xen-platform-pci,xen-balloon [root@localhost ~]# modinfo xen_balloon filename: /lib/modules/2.6.9-67.ELsmp/extra/xenpv/0.1-10.el4/xen-balloon.ko license: Dual BSD/GPL vermagic: 2.6.9-67.ELsmp SMP 686 REGPARM 4KSTACKS gcc-3.4 depends: xen-...
2008 Jun 11
1
CentOS 5.1 Paravirtualized guest hangs during creation
...stered NET: Registered protocol family 1 NET: Registered protocol family 17 Using IPI No-Shortcut mode vif vif-0: 2 parsing device/vif/0/mac XENBUS: Device with no driver: device/console/0 Freeing unused kernel memory: 148k freed ehci_hcd: version magic ''2.6.18.8-xen SMP mod_unload Xen 686 REGPARM gcc-4.1'' should be ''2.6.18.8-xenU SMP mod_unload Xen 686 gcc-4.1'' ohci_hcd: version magic ''2.6.18.8-xen SMP mod_unload Xen 686 REGPARM gcc-4.1'' should be ''2.6.18.8-xenU SMP mod_unload Xen 686 gcc-4.1'' uhci_hcd: version magic ''...
2003 Mar 03
0
Re: [BK PATCH] klibc for 2.5.63
...2>&1; then echo "$(1)"; else echo "$(2)"; fi) + FORCE: ===== usr/lib/arch/i386/MCONFIG 1.1 vs edited ===== --- 1.1/usr/lib/arch/i386/MCONFIG Sat Feb 15 23:53:51 2003 +++ edited/usr/lib/arch/i386/MCONFIG Mon Mar 3 21:18:08 2003 @@ -13,12 +13,19 @@ # them to be cdecl # REGPARM = -mregparm=3 -DREGPARM -OPTFLAGS = $(REGPARM) -march=i386 -Os -fomit-frame-pointer \ - -malign-functions=0 -malign-jumps=0 -malign-loops=0 -BITSIZE = 32 +#check_usergcc = $(shell if $(USERCC) $(1) -S -o /dev/null -xc /dev/null > \ + /dev/null 2>&1; then echo "$(1)"; else...
2005 Feb 10
1
[PATCH] make DEBUG=true
...?= -e main Index: klibc/arch/i386/MCONFIG =================================================================== --- klibc/arch/i386/MCONFIG (revision 1003) +++ klibc/arch/i386/MCONFIG (working copy) @@ -13,7 +13,7 @@ gcc_major := $(shell echo __GNUC__ | $(CC) -E -xc - | tail -n 1) -OPTFLAGS = $(REGPARM) -march=i386 -Os -g +OPTFLAGS = $(REGPARM) -march=i386 -Os ifeq ($(gcc_major),3) REGPARM := $(REGPARM_OPT)
2011 Sep 17
1
[LLVMdev] help with an error message using clang ?
...; > > > I used: > > > > clang -ccc-host-triple sparc-unknown-linux -ccc-clang-archs sparc > -pthreads > > -lm -emit-llvm test.c -c -o -test.bc > > > > The following error messages are produced: > > > > /usr/include/pthread.h:665:6: error: 'regparm' is not valid on this > platform > > __cleanup_fct_attribute; > > ^~~~~~~~~~~~~~~~~~~~~~~ > > In file included from TEST.C:46: > > In file included from /usr/include/stdlib.h:320: > > In file included from /usr/include/sys/types.h:271: > > /usr/i...
2014 Aug 27
0
syslinux efi configuration file name proposal
...in "loadconfig.c". > > Unfortunately, I am not a developer, so I don't know how to code a > selection of: > "booted in EFI<Arch> mode, not BIOS nor CSM" If you don't like the same changes present in the BIOS variant, just add an additional #ifndef REGPARM ... #endif wrapper. The REGPARM macro is apparently only set in BIOS mode. > > - add /boot/isolinux and /isolinux plus isolinux.cfg to the search path for > > all variants, just for the case that the "rename" was forgotten when copying > > over the files from an is...
2007 Apr 18
3
[RFC, PATCH 4/24] i386 Vmi inline implementation
...efinitions in vmi.h; in particular, the MMU VMI calls have not yet been adapted to the inline interface, and the naming convention has not yet been Linux-ified. Also, there are artifacts remaining here from the compile time ability to choose a register convention. There are also some bugs with non-regparm compilation. The set of calls in the VMI interface here needs some minor adjustments for Xen compatibility. In particular, a method to convert machine to physical mappings in PTEs is one missing interface, and with that and some other rather small changes, a VMI kernel is perfectly capable of run...
2007 Apr 18
3
[RFC, PATCH 4/24] i386 Vmi inline implementation
...efinitions in vmi.h; in particular, the MMU VMI calls have not yet been adapted to the inline interface, and the naming convention has not yet been Linux-ified. Also, there are artifacts remaining here from the compile time ability to choose a register convention. There are also some bugs with non-regparm compilation. The set of calls in the VMI interface here needs some minor adjustments for Xen compatibility. In particular, a method to convert machine to physical mappings in PTEs is one missing interface, and with that and some other rather small changes, a VMI kernel is perfectly capable of run...
2007 Apr 18
3
explicit saves vs clobbers in paravirt.h
In your sequences in asm/paravirt.h, you explicitly save the caller-save regs: static inline void raw_local_irq_restore(unsigned long f) { __asm__ __volatile__(paravirt_alt("pushl %%ecx; pushl %%edx\n\t" "pushl %1; call *%0\n\t" "popl %1; popl %%edx; popl %%ecx", PARAVIRT_RESTORE_FLAGS) : : "m" (paravirt_ops.restore_fl),
2005 May 25
1
OSS install problem
Hi, I want to install the commercial version of OSS and test if Skype works better with it. The problem is that after I compile 2.6.9-5.0.5.EL without sound support and then install oss3992d-linux-x86-v26-regparm and make it start at boot, at boot time OSS fails because it can not find /dev/dsp /dev/mixer and some other /dev sound devices. Indeed they do not exist. What do I need to do? Did I do something wrong or I have to manually add the /dev sound devices? Thanks, Adrian
2007 Feb 02
1
[LLVMdev] LLVM & Mozilla
Hello Everyone. With the help of recent regparm/inreg patches (landed week ago) LLVM was able able to build recent Mozilla/Seamonkey distribution. The target system in question was x86-32/Linux. Seamonkey suite 1.07 was built. Instructions: 1. Configure with CXXFLAGS="-D__NO_MATH_INLINES" CFLAGS="-D__NO_MATH_INLINES" CC=&l...