Opened 13 years ago

Closed 11 years ago

Last modified 11 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 Changed 13 years ago by oliver_kowalke

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 Changed 11 years ago by René Rivera

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 Changed 11 years ago by René Rivera

Component: Nonebuild

comment:4 Changed 11 years ago by René Rivera

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 Changed 11 years ago by Boris Gubenko

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

Boris

Note: See TracTickets for help on using tickets.