Opened 17 years ago

Closed 15 years ago

Last modified 15 years ago

#546 closed Bugs (fixed)

boost.build needs fixes for HP/UX

Reported by: oliver_kowalke Owned by: René Rivera
Milestone: Component: build
Version: None Severity: Showstopper
Keywords: Cc:

Description (last modified by René Rivera)

Hello,
I'm using boost on HP/UX (11.11 PA-RISC) with gcc (3.4.4).

The default build for boost needs to be fixed for this
platform!

1.) -fPIC: Shared libraries must be build as 
position-independent code (HP/UX linker requires this)
on HP/UX!

2.) On HP/UX the extension *.sl is common for shared
libraries -> boosts default is *.so (my UNIX-Admin
was m 	irritated be *.so).
Do not use "-sSUFDLL=.sl"!!! This generates libraries
which will fail during load (for instance signals
library). I was able to reproduce this behaviour.

Oliver

Change History (5)

comment:1 by oliver_kowalke, 17 years ago

Logged In: YES 
user_id=1210562

3.) if I build boost with 'bjam --prefix=/opt/boost
"-sTOOLS=gcc" "-sBUILD=debug release <runtime-link>dynamic
<cxxflags>-fPIC <release><optimization>speed" install'
libraries iostreams and wave are not installed as shared
libraries (no *.so files; only *.a).

comment:2 by René Rivera, 15 years ago

Logged In: YES 
user_id=33595
Originator: NO

I'm not sure what the problem is. Could you clarify please, what exactly you expect the build to produce.

comment:3 by René Rivera, 15 years ago

Component: Nonebuild

comment:4 by René Rivera, 15 years ago

Description: modified (diff)
Resolution: Nonefixed
Severity: Showstopper
Status: assignedclosed

Since HP is running tests on HP-UX with various gcc version with some success I'm assuming this problem is fixed now that we are using BBv2.

comment:5 by Boris Gubenko, 15 years ago

This is fixed by the fixes to gcc.jam in ticket 1228.

Boris

Note: See TracTickets for help on using tickets.