[pkg-boost-devel] Bug#345110: marked as done (libboost-serialization-dev: -lboost_serialization must come after an object file in linker command)

Debian Bug Tracking System owner at bugs.debian.org
Mon Jan 9 04:03:14 UTC 2006


Your message dated Sun, 08 Jan 2006 22:53:51 -0500
with message-id <20060109035351.GF815 at nyongwa.montreal.qc.ca>
and subject line [pkg-boost-devel] Bug#345110: libboost-serialization-dev: -lboost_serialization must come after an object file in	linker command
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 29 Dec 2005 02:09:50 +0000
>From bdonlan at gmail.com Wed Dec 28 18:09:50 2005
Return-path: <bdonlan at gmail.com>
Received: from cpe-72-224-203-170.maine.res.rr.com ([72.224.203.170] helo=bd-home-comp.no-ip.org)
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1ErnEk-0000e5-JK
	for submit at bugs.debian.org; Wed, 28 Dec 2005 18:09:50 -0800
Received: by bd-home-comp.no-ip.org (Postfix, from userid 1001)
	id A196FF4D938; Wed, 28 Dec 2005 21:09:48 -0500 (EST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Bryan Donlan <bdonlan at gmail.com>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: libboost-serialization-dev: -lboost_serialization must come after an object
 file in linker command
Message-ID: <20051229020948.32577.62069.reportbug at localhost.localdomain>
X-Mailer: reportbug 3.18
Date: Wed, 28 Dec 2005 21:09:48 -0500
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: libboost-serialization-dev
Version: 1.33.0-6
Severity: normal

If I attempt to link a program using boost-serialization, and put
-lboost_serialization before any object or source files on the g++
command line, the linker fails to use the boost-serialization archive
while linking. If I move the serialization library to the end of the
command line, it works.

For example, the following fails:
  g++ -DCV=0 -otest -lboost_serialization tools/serialtest.cpp -I.
But this works:
  g++ -DCV=0 -otest tools/serialtest.cpp -lboost_serialization -I.

Toolchain versions:
||/ Name           Version        Description
+++-==============-==============-============================================
ii  binutils       2.16.1cvs20051 The GNU assembler, linker and binary utiliti
ii  g++            4.0.2-2        The GNU C++ compiler

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.4+bd1-reiserfs
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages libboost-serialization-dev depends on:
ii  libboost-dev                  1.33.0-6   Boost C++ Libraries development fi

libboost-serialization-dev recommends no packages.

-- no debconf information

---------------------------------------
Received: (at 345110-done) by bugs.debian.org; 9 Jan 2006 03:53:52 +0000
>From steven.robbins at videotron.ca Sun Jan 08 19:53:52 2006
Return-path: <steven.robbins at videotron.ca>
Received: from relais.videotron.ca ([24.201.245.36])
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1Evo6S-0008Av-Pc
	for 345110-done at bugs.debian.org; Sun, 08 Jan 2006 19:53:52 -0800
Received: from riemann.nyongwa.montreal.qc.ca ([24.202.12.53])
 by VL-MO-MR003.ip.videotron.ca
 (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005))
 with ESMTP id <0IST00DJI45R9ND0 at VL-MO-MR003.ip.videotron.ca> for
 345110-done at bugs.debian.org; Sun, 08 Jan 2006 22:53:51 -0500 (EST)
Received: from steve by riemann.nyongwa.montreal.qc.ca with local
 (Exim 3.36 #1 (Debian))	id 1Evo6R-0003mO-00; Sun, 08 Jan 2006 22:53:51 -0500
Date: Sun, 08 Jan 2006 22:53:51 -0500
From: "Steve M. Robbins" <steven.robbins at videotron.ca>
Subject: Re: [pkg-boost-devel] Bug#345110: libboost-serialization-dev:
 -lboost_serialization must come after an object file in	linker command
In-reply-to: <20051229020948.32577.62069.reportbug at localhost.localdomain>
To: Bryan Donlan <bdonlan at gmail.com>, 345110-done at bugs.debian.org
Message-id: <20060109035351.GF815 at nyongwa.montreal.qc.ca>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-disposition: inline
References: <20051229020948.32577.62069.reportbug at localhost.localdomain>
User-Agent: Mutt/1.5.11
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
	RCVD_IN_SORBS autolearn=no version=2.60-bugs.debian.org_2005_01_02

On Wed, Dec 28, 2005 at 09:09:48PM -0500, Bryan Donlan wrote:

> If I attempt to link a program using boost-serialization, and put
> -lboost_serialization before any object or source files on the g++
> command line, the linker fails to use the boost-serialization archive
> while linking. If I move the serialization library to the end of the
> command line, it works.

Not a bug.  That's how the unix linker has worked for over 30 years.

-Steve



More information about the pkg-boost-devel mailing list