List Info

Thread: bug in toolset configuration of gcc - still not fixed for 1.34.1?!




bug in toolset configuration of gcc - still not fixed for 1.34.1?!
user name
2007-08-31 02:31:59
Hello,
I'll try to compile boost 1.34.1 on HP/UX 11.11 (acc 3.x
last version on
this platform - not able to compile boost).

bjam --prefix=/opt/boost-1_34_1 --with-thread --toolset=gcc
link=shared

I get following linker error which was already adressed in
(http://thread.gmane.org/gmane.comp.lib.boost.build/15577
) on 15. May:

gcc.link.dll
bin.v2/libs/thread/build/gcc-4.0.2/release/threading-multi/l
ibboost
_thread-gcc40-mt-1_34_1.so.1.34.1
ld: (Warning): Incorrect '-' in symbol pattern
"libboost_thread-gcc40-mt-1_34_1.
so.1.34.1". Ignoring pattern
"libboost_thread-gcc40-mt-1_34_1.so.1.34.1".
ld: Unrecognized argument: --start-group
Fatal error.

This is caused by the fact, that in the configuration of gcc
in
tools/build/v2/tools/gcc.jam still the linker options of gnu
ld are
set.But on HP/UX you have to use the hpux linker options -
it doesn't
know '--start-group' etc.

How can I change this linker-type=hpux is not recognized.

Regards, Oliver
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: bug in toolset configuration of gcc - still not fixed for 1.34.1?!
country flaguser name
Russian Federation
2007-08-31 02:46:45
Oliver.Kowalkeqimonda.com wrote:

> Hello,
> I'll try to compile boost 1.34.1 on HP/UX 11.11 (acc
3.x last version on
> this platform - not able to compile boost).
> 
> bjam --prefix=/opt/boost-1_34_1 --with-thread
--toolset=gcc link=shared
> 
> I get following linker error which was already adressed
in
> (http://thread.gmane.org/gmane.comp.lib.boost.build/15577
) on 15. May:
> 
> gcc.link.dll
>
bin.v2/libs/thread/build/gcc-4.0.2/release/threading-multi/l
ibboost
> _thread-gcc40-mt-1_34_1.so.1.34.1
> ld: (Warning): Incorrect '-' in symbol pattern
> "libboost_thread-gcc40-mt-1_34_1.
> so.1.34.1". Ignoring pattern
> "libboost_thread-gcc40-mt-1_34_1.so.1.34.1".
> ld: Unrecognized argument: --start-group
> Fatal error.
> 
> This is caused by the fact, that in the configuration
of gcc in
> tools/build/v2/tools/gcc.jam still the linker options
of gnu ld are
> set.But on HP/UX you have to use the hpux linker
options - it doesn't
> know '--start-group' etc.
> 
> How can I change this linker-type=hpux is not
recognized.

Per http://article.gmane.org/gmane.comp.lib.boost.build/155
98
you have to change the gcc.jam:init-link-flags to handle
'hpux' as the linker type.

Then, you have to configure gcc like:

        using gcc : version : command :
<linker-type>hpux ;

And if that works, send a patch!

As for "still not fixed for 1.34.1?!" from the
subject line -- is this
problem recorded in the tracker? If not, then it's not
surprising nobody
noticed.

- Volodya


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: bug in toolset configuration of gcc - still notfixed for 1.34.1?!
user name
2007-08-31 03:01:23
Hello Vladimir, 

> Oliver.Kowalkeqimonda.com wrote:
> 
> > Hello,
> > I'll try to compile boost 1.34.1 on HP/UX 11.11
(acc 3.x 
> last version 
> > on this platform - not able to compile boost).
> > 
> > bjam --prefix=/opt/boost-1_34_1 --with-thread
--toolset=gcc 
> > link=shared
> > 
> > I get following linker error which was already
adressed in
> > (http://thread.gmane.org/gmane.comp.lib.boost.build/15577
) 
> on 15. May:
> > 
> > gcc.link.dll
> >
bin.v2/libs/thread/build/gcc-4.0.2/release/threading-multi/l
ibboost
> > _thread-gcc40-mt-1_34_1.so.1.34.1
> > ld: (Warning): Incorrect '-' in symbol pattern 
> > "libboost_thread-gcc40-mt-1_34_1.
> > so.1.34.1". Ignoring pattern
> >
"libboost_thread-gcc40-mt-1_34_1.so.1.34.1".
> > ld: Unrecognized argument: --start-group Fatal
error.
> > 
> > This is caused by the fact, that in the
configuration of gcc in 
> > tools/build/v2/tools/gcc.jam still the linker
options of gnu ld are 
> > set.But on HP/UX you have to use the hpux linker
options - 
> it doesn't 
> > know '--start-group' etc.
> > 
> > How can I change this linker-type=hpux is not
recognized.
> 
> Per http://article.gmane.org/gmane.comp.lib.boost.build/155
98
> you have to change the gcc.jam:init-link-flags to
handle 
> 'hpux' as the linker type.

I tried this already in may - but no success :(

> Then, you have to configure gcc like:
> 
>         using gcc : version : command :
<linker-type>hpux ;

I did not reconfigure gcc - could you tell me how/where I
should do
this? I assume somewhere in gcc.jam but ther is no entry
using gcc ...

> And if that works, send a patch!

I'll do that.

> As for "still not fixed for 1.34.1?!" from
the subject line 
> -- is this problem recorded in the tracker? If not,
then it's 
> not surprising nobody noticed.

Someone told me that he will adress this after its vacation
- seams he
forgot it.

Regards, Oliver
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: bug in toolset configuration of gcc - still notfixed for 1.34.1?!
country flaguser name
Russian Federation
2007-08-31 03:19:41
Oliver.Kowalkeqimonda.com wrote:

> Hello Vladimir,
> 
>> Oliver.Kowalkeqimonda.com wrote:
>> 
>> > Hello,
>> > I'll try to compile boost 1.34.1 on HP/UX
11.11 (acc 3.x
>> last version
>> > on this platform - not able to compile
boost).
>> > 
>> > bjam --prefix=/opt/boost-1_34_1 --with-thread
--toolset=gcc
>> > link=shared
>> > 
>> > I get following linker error which was already
adressed in
>> > (http://thread.gmane.org/gmane.comp.lib.boost.build/15577
)
>> on 15. May:
>> > 
>> > gcc.link.dll
>> >
bin.v2/libs/thread/build/gcc-4.0.2/release/threading-multi/l
ibboost
>> > _thread-gcc40-mt-1_34_1.so.1.34.1
>> > ld: (Warning): Incorrect '-' in symbol
pattern
>> > "libboost_thread-gcc40-mt-1_34_1.
>> > so.1.34.1". Ignoring pattern
>> >
"libboost_thread-gcc40-mt-1_34_1.so.1.34.1".
>> > ld: Unrecognized argument: --start-group Fatal
error.
>> > 
>> > This is caused by the fact, that in the
configuration of gcc in
>> > tools/build/v2/tools/gcc.jam still the linker
options of gnu ld are
>> > set.But on HP/UX you have to use the hpux
linker options -
>> it doesn't
>> > know '--start-group' etc.
>> > 
>> > How can I change this linker-type=hpux is not
recognized.
>> 
>> Per http://article.gmane.org/gmane.comp.lib.boost.build/155
98
>> you have to change the gcc.jam:init-link-flags to
handle
>> 'hpux' as the linker type.
> 
> I tried this already in may - but no success :(

Do you have a patch to show?

>> Then, you have to configure gcc like:
>> 
>>         using gcc : version : command :
<linker-type>hpux ;
> 
> I did not reconfigure gcc - could you tell me how/where
I should do
> this? I assume somewhere in gcc.jam but ther is no
entry using gcc ...

You put that in your user-config.jam

>> As for "still not fixed for 1.34.1?!"
from the subject line
>> -- is this problem recorded in the tracker? If not,
then it's
>> not surprising nobody noticed.
> 
> Someone told me that he will adress this after its
vacation - seams he
> forgot it.

I guess that was not me -- at least I don't think I planned,
or had,
a vacation 

- Volodya


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: bug in toolset configuration of gcc - stillnotfixed for 1.34.1?!
user name
2007-08-31 03:30:41
> > I tried this already in may - but no success :(
> Do you have a patch to show?

No - I gave up and deleted it. But I'm forced to provide
boost on HP/UX
for gcc now. So I try to provide a pathc. But I'm not
familiar with
boost build :( So it will be hard work for me.

> >> Then, you have to configure gcc like:
> >> 
> >>         using gcc : version : command :
<linker-type>hpux ;
> > 
> > I did not reconfigure gcc - could you tell me
how/where I should do 
> > this? I assume somewhere in gcc.jam but ther is no
entry 
> using gcc ...
> 
> You put that in your user-config.jam

Which one? release/user-config.jam or
build/v2/user-config.jam 

And I'm not sure what I should write for 'command'.

> >> As for "still not fixed for
1.34.1?!" from the subject line
> >> -- is this problem recorded in the tracker? If
not, then it's not 
> >> surprising nobody noticed.
> > 
> > Someone told me that he will adress this after its
vacation 
> - seams he 
> > forgot it.
> 
> I guess that was not me -- at least I don't think I
planned, 
> or had, a vacation 

It was Rene Reviera - he would look at it after the BoostCon
:(

Regards, Oliver
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: bug in toolset configuration of gcc - fix
user name
2007-08-31 08:39:52
Hi,
I've got it compiled but I couldn't test it if the libs
realy work.
I've to change multihtreading options because it is
supported by gcc on
HPUX.
I was forced to add an addition -fPIC because the HP linker
complained
it.
[modules.peek : JAMUNAME ] did not work because the switch
did never
match against HPUX - it matched always case *.
So I changed it to switch [ os.name ].
The extension for shared libraries was also not correct - it
should be
.sl instead of .so.

I dond't know where I've to change the scripts in order to
get shared
libs compiled by default. I was forced to apply link=shared
to the bjam
commandline.

Please boost.build managers, incooperated the changes to to
appropriate
places.

Regards, Oliver



> > > I tried this already in may - but no success
:(
> > Do you have a patch to show?
> 
> No - I gave up and deleted it. But I'm forced to
provide 
> boost on HP/UX for gcc now. So I try to provide a
pathc. But 
> I'm not familiar with boost build :( So it will be hard
work for me.
> 
> > >> Then, you have to configure gcc like:
> > >> 
> > >>         using gcc : version : command :
<linker-type>hpux ;
> > > 
> > > I did not reconfigure gcc - could you tell me
how/where I 
> should do 
> > > this? I assume somewhere in gcc.jam but ther
is no entry
> > using gcc ...
> > 
> > You put that in your user-config.jam
> 
> Which one? release/user-config.jam or
build/v2/user-config.jam 
> 
> And I'm not sure what I should write for 'command'.
> 
> > >> As for "still not fixed for
1.34.1?!" from the subject line
> > >> -- is this problem recorded in the
tracker? If not, then 
> it's not 
> > >> surprising nobody noticed.
> > > 
> > > Someone told me that he will adress this
after its vacation
> > - seams he
> > > forgot it.
> > 
> > I guess that was not me -- at least I don't think
I 
> planned, or had, a 
> > vacation 
> 
> It was Rene Reviera - he would look at it after the
BoostCon :(
> 
> Regards, Oliver
> _______________________________________________
> Unsubscribe & other changes: 
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
> 

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

  
  
Re: bug in toolset configuration of gcc - fix
country flaguser name
Russian Federation
2007-08-31 09:23:16
Oliver.Kowalkeqimonda.com wrote:

> Hi,
> I've got it compiled but I couldn't test it if the libs
realy work.
> I've to change multihtreading options because it is
supported by gcc on
> HPUX.
> I was forced to add an addition -fPIC because the HP
linker complained
> it.
> [modules.peek : JAMUNAME ] did not work because the
switch did never
> match against HPUX - it matched always case *.
> So I changed it to switch [ os.name ].
> The extension for shared libraries was also not correct
- it should be
> .sl instead of .so.
> 
> I dond't know where I've to change the scripts in order
to get shared
> libs compiled by default. I was forced to apply
link=shared to the bjam
> commandline.
> 
> Please boost.build managers, incooperated the changes
to to appropriate
> places.

Please send a patch as unified diff. 

- Volodya


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

Re: bug in toolset configuration of gcc - fix
user name
2007-09-03 00:57:59
Hello Volodya,
I've appended the patches. Please look into it in order to
check if the
modifiacations are appropriate.
Hopefully you could correct the gcc + HP/UX build setup
soon.
Would be nice if you could give me some response.
Regards, Oliver



> > Hi,
> > I've got it compiled but I couldn't test it if the
libs realy work.
> > I've to change multihtreading options because it
is 
> supported by gcc 
> > on HPUX.
> > I was forced to add an addition -fPIC because the
HP linker 
> complained 
> > it.
> > [modules.peek : JAMUNAME ] did not work because
the switch 
> did never 
> > match against HPUX - it matched always case *.
> > So I changed it to switch [ os.name ].
> > The extension for shared libraries was also not
correct - 
> it should be 
> > .sl instead of .so.
> > 
> > I dond't know where I've to change the scripts in
order to 
> get shared 
> > libs compiled by default. I was forced to apply
link=shared to the 
> > bjam commandline.
> > 
> > Please boost.build managers, incooperated the
changes to to 
> > appropriate places.
> 
> Please send a patch as unified diff. 
> 
> - Volodya
> 
> 
> _______________________________________________
> Unsubscribe & other changes: 
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
> 

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

  
  
Re: bug in toolset configuration of gcc - patches - II
user name
2007-09-03 01:01:47
Hello,
I forgott that I didn't figured out where I can configure
the scripts in
order to genereate shared libraries by default for gcc on
HP/UX.
Hopefully you would address this.
Regards, Oliver



> > Hi,
> > I've got it compiled but I couldn't test it if the
libs realy work.
> > I've to change multihtreading options because it
is 
> supported by gcc 
> > on HPUX.
> > I was forced to add an addition -fPIC because the
HP linker 
> complained 
> > it.
> > [modules.peek : JAMUNAME ] did not work because
the switch 
> did never 
> > match against HPUX - it matched always case *.
> > So I changed it to switch [ os.name ].
> > The extension for shared libraries was also not
correct - 
> it should be 
> > .sl instead of .so.
> > 
> > I dond't know where I've to change the scripts in
order to 
> get shared 
> > libs compiled by default. I was forced to apply
link=shared to the 
> > bjam commandline.
> > 
> > Please boost.build managers, incooperated the
changes to to 
> > appropriate places.
> 
> Please send a patch as unified diff. 
> 
> - Volodya
> 
> 
> _______________________________________________
> Unsubscribe & other changes: 
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
> 

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

  
  
Re: bug in toolset configuration of gcc - stillnotfixed for 1.34.1?!
country flaguser name
Germany
2007-09-03 04:17:34
Hi!

To learn more about Boost Build v2 see the documentation:
http://www.bo
ost.org/doc/html/bbv2.html

Oliver.Kowalkeqimonda.com schrieb:
>> You put that in your user-config.jam
> 
> Which one? release/user-config.jam or
build/v2/user-config.jam 

None of them, please. The user-config.jam is a file for the
_user_ to
_configure_ the build system. You don't want to have your
special acc
config in boost svn, do you? See here for instructions on
configuration:
http://www.boost.org/doc/html/bbv2/a
dvanced.html#bbv2.advanced.configuration

And I'd recommand to put it into site-config.jam .

And for default "shared" linking use the
"default-build" option of your
project:

http://www.boost.org/doc/html/bbv2/advanc
ed.html#bbv2.advanced.projects

> And I'm not sure what I should write for 'command'.

In doubt, nothing.

Frank

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

[1-10] [11-20]

about | contact  Other archives ( Real Estate discussion Medical topics )