Overview
| Artifact ID: | 15dca4fdc4903fe2f504a4744ed7ef3361ff34a0 |
|---|---|
| Ticket: | 2502365fffffffffffffffffffffffffffffffff
Building of head on HPUX is broken when using the native CC |
| User & Date: | andreas_kupries on 2009-01-12 20:08:49 |
Changes
- assignee changed to: "nijtmans"
- cmimetype changed to: "text/plain"
- comment changed to:
Using the native C compiler on HPUX the configure script generates a Makefile which is broken. The SHLIB_LD variable is set to 'cc -Wl,-b'. This is wrong. It has to be 'cc -b'. The flag is properly forwarded to the native linker in this form. In the -Wl form some handling in cc itself is bypassed. The error caused by using -Wl,-b is /usr/ccs/bin/ld: CODE_ONE_SYM fixup to non-code subspace in file /opt/langtools/lib/crt0.o - shared library must be position independent. Use +z or +Z to recompile. make: *** [libtcl8.6.sl] Error 1 This has to be fixed somewhere in the configure and/or tcl.m4. The last to modify the HP sections was Jan IIRC, hence the assigning it to him. ./unix/configure:7128: SHLIB_LD="${CC} -Wl,-b" ./unix/tcl.m4:1283: SHLIB_LD="${CC} -Wl,-b" Tk is broken in the same manner. ./unix/configure:5013: SHLIB_LD="${CC} -Wl,-b" ./unix/tcl.m4:1283: SHLIB_LD="${CC} -Wl,-b" - foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "9 Immediate"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "andreas_kupries"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to:
Building of head on HPUX is broken when using the native CC
- type changed to: "Bug"