search for: symver

Displaying 20 results from an estimated 113 matches for "symver".

Did you mean: symvers
2020 Nov 11
2
Targeting old glibc
...GLIBC_2.2.5 (non-default) and > exp@@GLIBC_2.29 (default), your 'exp' undefined symbol > will resolve to exp@@GLIBC_2.29 (default) and not work with older glibc. > > If you know that your translation unit does not define 'exp' (usual > case), you can write > > .symver exp,exp at GLIBC_2.2.5 > call exp > or > .symver exp,exp@@@GLIBC_2.2.5 > call exp > > Then the undefined symbol 'exp' will be renamed to 'exp at GLIBC_2.2.5' > and get bound to the old version at link time. It will thus work with > old glibc. I have one .cpp...
2020 Oct 28
4
Targeting old glibc
Hi, I wonder what is the right way to target an old glibc? I have a machine which is up to date (glibc 2.32 and clang+lld 10.0.1). So far I've been able to target older glibc by having a C file containing: __asm__(".symver powf,powf at GLIBC_2.2.5"); __asm__(".symver expf,expf at GLIBC_2.2.5"); __asm__(".symver exp2f,exp2f at GLIBC_2.2.5"); __asm__(".symver log2f,log2f at GLIBC_2.2.5"); __asm__(".symver logf,logf at GLIBC_2.2.5"); __asm__(".symver log,log at GLIBC_2....
2020 Oct 28
2
Targeting old glibc
...i, > > > >I wonder what is the right way to target an old glibc? > > > >I have a machine which is up to date (glibc 2.32 and clang+lld 10.0.1). > > > >So far I've been able to target older glibc by having a C file containing: > > > >__asm__(".symver powf,powf at GLIBC_2.2.5"); > >__asm__(".symver expf,expf at GLIBC_2.2.5"); > >__asm__(".symver exp2f,exp2f at GLIBC_2.2.5"); > >__asm__(".symver log2f,log2f at GLIBC_2.2.5"); > >__asm__(".symver logf,logf at GLIBC_2.2.5"); > &...
2020 Nov 11
2
Targeting old glibc
...), your 'exp' undefined symbol > > > will resolve to exp@@GLIBC_2.29 (default) and not work with older glibc. > > > > > > If you know that your translation unit does not define 'exp' (usual > > > case), you can write > > > > > > .symver exp,exp at GLIBC_2.2.5 > > > call exp > > > or > > > .symver exp,exp@@@GLIBC_2.2.5 > > > call exp > > > > > > Then the undefined symbol 'exp' will be renamed to 'exp at GLIBC_2.2.5' > > > and get bound to the old version...
2020 Nov 11
0
Targeting old glibc
...> exp@@GLIBC_2.29 (default), your 'exp' undefined symbol > > will resolve to exp@@GLIBC_2.29 (default) and not work with older glibc. > > > > If you know that your translation unit does not define 'exp' (usual > > case), you can write > > > > .symver exp,exp at GLIBC_2.2.5 > > call exp > > or > > .symver exp,exp@@@GLIBC_2.2.5 > > call exp > > > > Then the undefined symbol 'exp' will be renamed to 'exp at GLIBC_2.2.5' > > and get bound to the old version at link time. It will thus work wi...
2020 Nov 11
0
Targeting old glibc
...defined symbol >> > > will resolve to exp@@GLIBC_2.29 (default) and not work with older glibc. >> > > >> > > If you know that your translation unit does not define 'exp' (usual >> > > case), you can write >> > > >> > > .symver exp,exp at GLIBC_2.2.5 >> > > call exp >> > > or >> > > .symver exp,exp@@@GLIBC_2.2.5 >> > > call exp >> > > >> > > Then the undefined symbol 'exp' will be renamed to 'exp at GLIBC_2.2.5' >> > > and...
2008 Sep 30
1
Module.symvers
I am going into: /usr/src/kernels/2.6.18-92.1.10.el5-x86_64 and doing a "make mrproper" attempting to rebuild the Modules.symvers file. As I added ALSA 1.0.17 to the current kernel. I am getting an error: make mrproper scripts/Makefile.clean:17: /usr/src/kernels/2.6.18-92.1.10.el5-x86_64/drivers/infiniband/hw/amso1100/Makefile: No such file or directory make[3]: *** No rule to make target `/usr/src/kernels/2.6.18-92.1...
2020 Nov 09
0
Targeting old glibc
...what is the right way to target an old glibc? > > > > > >I have a machine which is up to date (glibc 2.32 and clang+lld 10.0.1). > > > > > >So far I've been able to target older glibc by having a C file containing: > > > > > >__asm__(".symver powf,powf at GLIBC_2.2.5"); > > >__asm__(".symver expf,expf at GLIBC_2.2.5"); > > >__asm__(".symver exp2f,exp2f at GLIBC_2.2.5"); > > >__asm__(".symver log2f,log2f at GLIBC_2.2.5"); > > >__asm__(".symver logf,logf at GLIBC_...
2020 Nov 10
2
Targeting old glibc
Thank you very much for your help Fāng-ruì Sòng. I've tried various things like linking directly to libm-2.32 but it didn't work, it seems that libm-2.32 still pulls libmvec. I have the following linker flags: CLANG_LDFLAGS="-fuse-ld=lld -static-libstdc++ -static-libgcc -fvisibility=hidden -fdata-sections -ffunction-sections" CLANG_LDFLAGS="$CLANG_LDFLAGS
2020 Nov 09
2
Targeting old glibc
...et an old glibc? > > > > > > > >I have a machine which is up to date (glibc 2.32 and clang+lld 10.0.1). > > > > > > > >So far I've been able to target older glibc by having a C file containing: > > > > > > > >__asm__(".symver powf,powf at GLIBC_2.2.5"); > > > >__asm__(".symver expf,expf at GLIBC_2.2.5"); > > > >__asm__(".symver exp2f,exp2f at GLIBC_2.2.5"); > > > >__asm__(".symver log2f,log2f at GLIBC_2.2.5"); > > > >__asm__(".symver...
2020 Sep 11
1
[PATCH v3 3/7] mm/memory_hotplug: prepare passing flags to add_memory() and friends
...start, u64 size, mhp_t mhp_flags); ^ include/linux/memory_hotplug.h:357:11: error: unknown type name 'mhp_t' mhp_t mhp_flags); ^ include/linux/memory_hotplug.h:360:10: error: unknown type name 'mhp_t' mhp_t mhp_flags); ^ 4 errors generated. Makefile Module.symvers System.map arch block certs crypto drivers fs include init ipc kernel lib mm modules.builtin modules.builtin.modinfo modules.order net scripts security sound source tools usr virt vmlinux vmlinux.o vmlinux.symvers [scripts/Makefile.build:117: arch/x86/kernel/asm-offsets.s] Error 1 Target '_...
2006 May 23
0
Zaptel Module.symvers missing
Hi, when I am going to compile the zaptel I receive this message ake -C /lib/modules/2.6.12-12mdk/build SUBDIRS=/usr/src/asterisk/zaptel- 1.2.5 XPPMOD= modules make[1]: Entering directory `/usr/src/linux-2.6.12-12mdk' WARNING: Symbol version dump /usr/src/linux-2.6.12-12mdk/Module.symvers is missing; modules will have no dependencies and modversions. .. lrwxrwxrwx 1 root root 18 mag 23 17:42 linux -> linux-2.6.12-12mdk / drwxr-xr-x 22 root root 4096 mag 23 18:04 linux-2.6.12-12mdk/ .. Any idea how to generate this file? cat /proc/version Linux ver...
2019 Aug 07
2
C7 Kernel module compilation
...> _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos Hi, thank you for your reply, I solve adding in "General Setup" values of current kernel on localversion option and adding Module.symver from /boot/symver-version.gz to module directory. Now I get another problem compiling the third party module (i2c-nct6775): "CONFIG_RETPOLINE=y but not supported by the compiler. Compiler update recomended. Stop." I tried using scl gcc7 and 8 but get the same issue. I checked that r...
2010 Jan 22
3
Question about running a CentOS4.8 (32-bit) guest under CentOS5.4xen (64-bit)
...:35 System.map-2.6.9-89.0.18.EL.plus.c4 -rw-r--r-- 1 root root 768660 Jan 21 20:35 System.map-2.6.9-89.0.16.EL -rw-r--r-- 1 root root 768660 Jan 21 20:35 System.map-2.6.9-89.0.15.EL -rw-r--r-- 1 root root 768606 Jan 21 20:35 System.map-2.6.9-89.0.11.EL -rw-r--r-- 1 root root 67596 Jan 21 20:35 symvers-2.6.9-89.0.9.EL.gz -rw-r--r-- 1 root root 78176 Jan 21 20:35 symvers-2.6.9-89.0.18.EL.plus.c4.gz -rw-r--r-- 1 root root 67596 Jan 21 20:35 symvers-2.6.9-89.0.16.EL.gz -rw-r--r-- 1 root root 67596 Jan 21 20:35 symvers-2.6.9-89.0.15.EL.gz -rw-r--r-- 1 root root 67596 Jan 21 20:35 symvers-2.6...
2019 Aug 08
2
C7 Kernel module compilation
...full will help determine if >>> that is the case. >>> >>> Thanks >>> >>> Phil >> >> Hi, thank you for your reply, >> I solve adding in "General Setup" values of current kernel on >> localversion option and adding Module.symver from >> /boot/symver-version.gz to module directory. >> >> Now I get another problem compiling the third party module (i2c-nct6775): >> >> "CONFIG_RETPOLINE=y but not supported by the compiler. Compiler update >> recomended. Stop." >> >> I t...
2009 Mar 17
2
DAHDI or Zaptel doesn't compile against 1.4.24
...linux-2.1.0.4/drivers/dahdi DAHDI_INCLUDE=/usr/src/dahdi-linux-2.1.0.4/include DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m make[1]: entrant dans le r?pertoire ? /usr/src/linux-source-2.6.18 ? WARNING: Symbol version dump /usr/src/linux-source-2.6.18/Module.symvers is missing; modules will have no dependencies and modversions. CC [M] /usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/dahdi-base.o In file included from /usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/dahdi-base.c:38: /usr/src/dahdi-linux-2.1.0.4/drivers/dahdi/dahdi_config.h:23:27: error:...
2015 Nov 23
6
Building for older versions
...ich can run on older versions of CentOS. I'm running into problems with versioning of memcpy in Glibc. Executables built on CentOS 7 require memcpy from glibc-2.14, which causes the program not to load on systems with older versions of glibc. My online search suggests to add an asm() with a .symver option to select memcpy from glibc-2.2.5 in each of the source files which reference memcpy(). This isn't practical with a program with tens of thousands of source files. Does anyone have a reasonable solution? -- Michael Eager eager at eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 65...
2012 Feb 06
1
How to boot into a different kernel
...# ls -ltr total 62768 -rw-r--r--. 1 root root 2312369 Dec 6 15:35 System.map-2.6.32-220.el6.x86_64 -rw-r--r--. 1 root root 100943 Dec 6 15:35 config-2.6.32-220.el6.x86_64 -rwxr-xr-x. 1 root root 3938288 Dec 6 15:35 vmlinuz-2.6.32-220.el6.x86_64 -rw-r--r--. 1 root root 171087 Dec 6 15:36 symvers-2.6.32-220.el6.x86_64.gz -rw-r--r--. 1 root root 2313220 Dec 23 04:14 System.map-2.6.32-220.2.1.el6.x86_64 -rw-r--r--. 1 root root 100947 Dec 23 04:14 config-2.6.32-220.2.1.el6.x86_64 -rwxr-xr-x. 1 root root 3940752 Dec 23 04:14 vmlinuz-2.6.32-220.2.1.el6.x86_64 -rw-r--r--. 1 root root 17...
2015 Dec 03
1
7.2 kernel panic on boot
On 03/12/15 09:40, Bernard Lheureux wrote: > On 12/03/2015 10:29 AM, Duncan Brown wrote: > initramfs is missing... > check if /boot/initramfs-{kernelversion}.img is correctly there, if not > do a "yum reinstall kernel-{version}" and it should be ok ! You might want to also check there is enough diskspace for the initrd to be built and hosted in the right place.. --
2015 Nov 23
2
Building for older versions
...ning into >> problems with versioning of memcpy in Glibc. Executables >> built on CentOS 7 require memcpy from glibc-2.14, which >> causes the program not to load on systems with older >> versions of glibc. >> >> My online search suggests to add an asm() with a .symver >> option to select memcpy from glibc-2.2.5 in each of the >> source files which reference memcpy(). This isn't practical >> with a program with tens of thousands of source files. >> >> Does anyone have a reasonable solution? > > IMO you should really be bui...