QNX Technical Articles
QNX® Software Development Platform 6.5.0 Service Pack 1 Kernel and libc Patch (Build ID 4844): Installation Note
Date of this edition: June 29, 2021
Target OS: This patch is compatible with targets that are running QNX® Neutrino® 6.5.0 SP1.
Host OS: To apply this patch, you must have installed the QNX Software Development Platform 6.5.0 SP1:
- as a self-hosted QNX Neutrino development system
- or on one of the following development hosts:
- Microsoft Windows 7 Professional 32- and 64-bit, Vista Business 32- and 64-bit, XP Professional SP3, or 2000 SP4
- Linux Red Hat Enterprise Linux 5.4 Desktop 32- and 64-bit, Red Hat Fedora 12, Ubuntu Workstation 9.10, 11.04, and 12.04 32- and 64-bit, or openSUSE 11.2
![]() |
Install the applypatch Patch (Patch ID 3792) and the earlier Kernel and libc Patch (Patch ID 4703) before you install this patch. If you have installed a Services-delivered patch for the kernel, libc, or both, do not install this patch and please contact QNX Engineering Services. |
This note includes:
- Installing this patch
- Installing the updated symbol files (optional)
- Uninstalling this patch
- Technical support
For information about the issues that this patch addresses, see the release notes.
Installing this patch
- Log in as root (or with administrator privileges on Windows).
- On Debian 3.1 hosts, set up your environment by typing:
source /etc/profile
- Download the patch-650SP1-4844-KernelLibC.tar archive to your host environment.
- Verify that the patch's checksum matches the one given on our website.
- On Windows hosts, run cmd.exe.
- Use the applypatch utility to install the patch:
- On Linux, if you use sudo (as would be the case on Ubuntu),
you must specify the -E option to preserve the environment.
In this case, the PATH environment variable is set
to a safe one for security reasons, so you need to specify the full path to
the utility:
sudo -E $QNX_HOST/usr/bin/applypatch patch-650SP1-4844-KernelLibC.tar - On other hosts, type:
applypatch patch-650SP1-4844-KernelLibC.tar
For more information about applypatch, see its entry in the Utilities Reference.
- On Linux, if you use sudo (as would be the case on Ubuntu),
you must specify the -E option to preserve the environment.
In this case, the PATH environment variable is set
to a safe one for security reasons, so you need to specify the full path to
the utility:
Installing the updated symbol files (optional)
If you've installed the symbol files for QNX SDP 6.5.0 SP1, you should update them from the accompanying patch-650SP1-4844-KernelLibC_debug.tar file that's in the Download area of our website. To install these files, do the following:
- Download patch-650SP1-4844-KernelLibC_debug.tar from the Download area of our website into the working directory of your choice.
- Determine the base directory of your QNX SDP installation by opening a shell and using the qconfig command.
- cd base_directory/install
- tar -xvf path_to_working_dir/patch-650SP1-4844-KernelLibC_debug.tar
The symbol files are installed in patches/650SP1-4844/debug. You can either replace the existing symbol files or direct the debugger to use the files in this directory.
- If you want to replace the existing symbol files, back up the following files, which are
installed under $QNX_TARGET:
- target/qnx6/ppcbe/lib/libc.a.sym
- target/qnx6/ppcbe/lib/libcS.a.sym
- target/qnx6/ppcbe/lib/libc.so.3.sym
- target/qnx6/ppcbe/boot/sys/procnto-booke-smp.sym
- target/qnx6/ppcbe/boot/sys/procnto-booke.sym
- target/qnx6/ppcbe/boot/sys/procnto-booke-smp-instr.sym
- target/qnx6/ppcbe/boot/sys/libmod_aps.a.sym
- target/qnx6/ppcbe/boot/sys/procnto-booke-instr.sym
- target/qnx6/ppcbe-spe/lib/libc.a.sym
- target/qnx6/ppcbe-spe/lib/libcS.a.sym
- target/qnx6/ppcbe-spe/lib/libc.so.3.sym
- target/qnx6/armle-v7/lib/libc.a.sym
- target/qnx6/armle-v7/lib/libcS.a.sym
- target/qnx6/armle-v7/lib/libc.so.3.sym
- target/qnx6/armle-v7/boot/sys/procnto.sym
- target/qnx6/armle-v7/boot/sys/procnto-instr.sym
- target/qnx6/armle-v7/boot/sys/libmod_aps.a.sym
- target/qnx6/armle-v7/boot/sys/procnto-smp.sym
- target/qnx6/armle-v7/boot/sys/procnto-smp-instr.sym
- target/qnx6/armle/lib/libc.a.sym
- target/qnx6/armle/lib/libcS.a.sym
- target/qnx6/armle/lib/libc.so.3.sym
- target/qnx6/armle/boot/sys/procnto.sym
- target/qnx6/armle/boot/sys/procnto-instr.sym
- target/qnx6/armle/boot/sys/libmod_aps.a.sym
- target/qnx6/x86/lib/libc.a.sym
- target/qnx6/x86/lib/libcS.a.sym
- target/qnx6/x86/lib/libc.so.3.sym
- target/qnx6/x86/boot/sys/procnto.sym
- target/qnx6/x86/boot/sys/procnto-instr.sym
- target/qnx6/x86/boot/sys/libmod_aps.a.sym
- target/qnx6/x86/boot/sys/procnto-smp.sym
- target/qnx6/x86/boot/sys/procnto-smp-instr.sym
and then copy the new symbol files to replace them.
- To use the new symbol files in place, you can either:
- start gdb with the --with-separate-debug-dir=base_directory/install/patches/650SP1-4844/debug option
or:
- use the set debug-file-directory base_directory/install/patches/650SP1-4844/debug command in gdb
For more information, see https://sourceware.org/gdb/current/onlinedocs/gdb/Separate-Debug-Files.html#Separate-Debug-Files.
Uninstalling this patch
- Log in as root (or with administrator privileges on Windows).
- On Debian 3.1 hosts, set up your environment by typing:
source /etc/profile
- On Windows hosts, run cmd.exe.
- Use the applypatch utility to uninstall the patch:
- On Linux, if you use sudo (as would be the case on Ubuntu),
you must specify the -E option to preserve the environment.
In this case, the PATH environment variable is set
to a safe one for security reasons, so you need to specify the full path to
the utility:
sudo -E $QNX_HOST/usr/bin/applypatch -U 4844 - On other hosts, type:
applypatch -U 4844
- On Linux, if you use sudo (as would be the case on Ubuntu),
you must specify the -E option to preserve the environment.
In this case, the PATH environment variable is set
to a safe one for security reasons, so you need to specify the full path to
the utility:
![]() |
If you installed the updated symbol files, restore the previous versions from the backups you made. |
Technical support
To obtain technical support for any QNX product, visit the Support area on our website (www.qnx.com). You'll find a wide range of support options, including community forums.
