QNX Technical Articles
QNX® Software Development Platform 6.6 Kernel and Libc Patch (Patch ID 4669): Installation Note
Date of this edition: October 17, 2017
Target OS: This patch is compatible with targets that are running the QNX® Neutrino® RTOS 6.6.
Host OS: In order to apply this patch, you must have installed the QNX Software Development Platform 6.6 on one of the following development hosts:
- Microsoft Windows 10 Professional 64-bit, Windows 8 Professional 64-bit, Windows 7 Professional 64-bit, or XP Professional SP3
- Linux Red Hat Enterprise Linux 6 64-bit or Ubuntu Workstation LTS 12.04 32- and 64-bit or Ubuntu Workstation LTS 16.04 Workstation LTS 32- and 64-bit
![]() |
|
This note includes:
- Installing this patch
- Installing the updated symbol files (optional)
- Uninstalling this patch
- Technical support
Installing this patch
- Log in as the user who installed QNX SDP 6.6.
- On Windows hosts, run cmd.exe; on Linux hosts, start a command shell.
- Set up your QNX SDP 6.6 environment:
- On Windows hosts, run:
base_directory\qnx660-env.bat
- On Linux hosts, run:
source base_directory/qnx660-env.sh
where base_directory is where you installed QNX SDP 6.6.
- On Windows hosts, run:
- Download the patch-660-4669-kernellibc.tar archive to your host environment from Developers > QNX Download Center > QNX Software Development Platform 6.6 > QNX Software Development Platform 6.6 Kernel & Libc Patch [Patch ID 4669].
- Verify that the patch's checksum matches the one given on our website.
- Use the applypatch utility to install the patch:
applypatch download_path/patch-660-4669-kernellibc.tarwhere download_path is the location of the patch file. For more information about applypatch, see its entry in the Utilities Reference.
Installing the updated symbol files (optional)
If you've installed the symbol files for QNX SDP 6.6, you should update them from the accompanying patch-660-4669-kernellibc_debug.tar file that's in the Download area of our website. To install these files, continue from the steps above and do the following:
- Download patch-660-4669-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 using the qconfig command.
- cd base_directory/install
- tar -xvf path_to_working_dir/patch-660-4669-kernellibc_debug.tar
The symbol files are installed in patches/660-4669/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:
- armle-v7/boot/sys/procnto-smp.sym
- armle-v7/boot/sys/procnto-instr.sym
- armle-v7/boot/sys/libmod_aps.a.sym
- armle-v7/boot/sys/procnto.sym
- armle-v7/boot/sys/procnto-smp-instr.sym
- armle-v7/lib/libcS.a.sym
- armle-v7/lib/libc.a.sym
- armle-v7/lib/libc.so.3.sym
- x86/boot/sys/procnto-smp.sym
- x86/boot/sys/procnto-instr.sym
- x86/boot/sys/libmod_aps.a.sym
- x86/boot/sys/procnto.sym
- x86/boot/sys/procnto-smp-instr.sym
- x86/lib/libcS.a.sym
- x86/lib/libc.a.sym
- x86/lib/libc.so.3.sym
and then copy the new symbol files to replace them.
- In order to use the new symbol files in place, you can either:
- start gdb with the --with-separate-debug-dir=base_directory/install/patches/660-4669/debug option
or:
- use the set debug-file-directory base_directory/install/patches/660-4669/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 the user who installed QNX SDP 6.6.
- On Windows hosts, run cmd.exe; on Linux hosts, start a command shell.
- Set up your QNX SDP 6.6 environment:
- On Windows hosts, run:
base_directory\qnx660-env.bat
- On Linux hosts, run:
source base_directory/qnx660-env.sh
where base_directory is where you installed QNX SDP 6.6.
- On Windows hosts, run:
- Use the applypatch utility to uninstall the patch:
applypatch -U 4669
![]() |
If you installed the updated symbol files, restore the previous versions from the backups you made, and then delete the base_directory/install/patches/660-4669/debug directory and its contents. |
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.
