QNX Technical Articles
QNX® Software Development Platform 6.5 SP1 Kernel and Libc Patch (Patch ID 4668): 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.5 SP1.
Host OS: In order to apply this patch, you must have installed the QNX Software Development Platform 6.5 SP1 on one of the following development hosts:
- as a self-hosted QNX Neutrino development system
- 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
![]() |
|
This note includes:
- Installing this patch
- Installing the updated symbol files (optional)
- Uninstalling this patch
- Technical support
Installing this patch
- On Windows hosts, boot into Windows and log in as the system administrator who installed QNX SDP 6.5 SP1. On Linux hosts, boot into Linux and log in as root, or as a user with administrative privileges on Ubuntu.
- If you're using Windows Vista or Windows 7, disable User Account Control (UAC). (Ref# 77791).
- On Windows hosts, run cmd.exe; on Linux hosts, start a command shell.
- Download the patch-650SP1-4668-kernellibc.tar archive to your host environment from Developers > QNX Download Center > QNX Software Development Platform 6.5.x > QNX Software Development Platform 6.5 SP1 Kernel & Libc Patch [Patch ID 4668].
- 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-650SP1-4668-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.5 SP1, you should update them from the accompanying patch-650SP1-4668-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-650SP1-4668-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-650SP1-4668-kernellibc_debug.tar
The symbol files are installed in patches/650SP1-4668/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/boot/sys/procnto-v6-smp.sym
- armle/boot/sys/procnto-instr.sym
- armle/boot/sys/procnto-v6-instr.sym
- armle/boot/sys/libmod_aps.a.sym
- armle/boot/sys/procnto.sym
- armle/boot/sys/procnto-v6.sym
- armle/boot/sys/procnto-v6-smp-instr.sym
- armle/lib/libcS.a.sym
- armle/lib/libc.a.sym
- armle/lib/libc.so.3.sym
- 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
- ppcbe/boot/sys/procnto-400.sym
- ppcbe/boot/sys/procnto-600-instr.sym
- ppcbe/boot/sys/procnto-600-smp-instr.sym
- ppcbe/boot/sys/procnto-booke-instr.sym
- ppcbe/boot/sys/procnto-400-instr.sym
- ppcbe/boot/sys/procnto-800.sym
- ppcbe/boot/sys/procnto-booke-smp.sym
- ppcbe/boot/sys/libmod_aps.a.sym
- ppcbe/boot/sys/procnto-800-instr.sym
- ppcbe/boot/sys/procnto-600-smp.sym
- ppcbe/boot/sys/procnto-booke.sym
- ppcbe/boot/sys/procnto-600.sym
- ppcbe/boot/sys/procnto-booke-smp-instr.sym
- ppcbe/lib/libcS.a.sym
- ppcbe/lib/libc.a.sym
- ppcbe/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
- 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/650SP1-4668/debug option
or:
- use the set debug-file-directory base_directory/install/patches/650SP1-4668/debug command in gdb
For more information, see https://sourceware.org/gdb/current/onlinedocs/gdb/Separate-Debug-Files.html#Separate-Debug-Files.
and then copy the new symbol files to replace them.
Uninstalling this patch
- Log in as the user who installed QNX SDP 6.5 SP1.
- On Windows hosts, run cmd.exe; on Linux hosts, start a command shell.
- Use the applypatch utility to uninstall the patch:
applypatch -U 4668
![]() |
If you installed the updated symbol files, restore the previous versions from the backups you made, and then delete the base_directory/install/patches/650SP1-4668/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.
