[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-xorriso] [PATCH] mmc: fix static link with libcdio

From: Baruch Siach
Subject: Re: [Bug-xorriso] [PATCH] mmc: fix static link with libcdio
Date: Fri, 21 Apr 2017 18:34:19 +0300
User-agent: NeoMutt/20170113 (1.7.2)

Hi Thomas,

On Fri, Apr 21, 2017 at 08:25:55AM +0200, Thomas Schmitt wrote:
> Baruch Siach wrote:
> > libburn and libcdio define identically named symbols. This leads to static
> > link failure when building xorriso statically:
> > [...] mmc_get_configuration [...] mmc_read_cd [...] mmc_set_speed
> This poses the bigger question whether all mmc_* functions should be
> renamed and even whether libburn has to care for collisions of its
> private symbols with other libraries.
> Please give me some background info about the situation that led to the
> clash:
> - How exactly did you configure and build xorriso ?
>   Was there any deviation from
>     ./configure --enable-libcdio && make

You can see all the details in the Buildroot autobuild log[1].

> - Which version of libcdio do you use ?

Version 0.94.

> - Is there a particular reason why you link xorriso with libcdio ?
>   Afaik, libburn has own system adapters for all operating systems where
>   libcdio can perform passthrough of SCSI commands.

In Buildroot libcdio is an optional dependency of xorriso. Whenever the user 
enables libcdio, Buildroot automatically enables[2] libcdio for xorriso. The 
autobuilder continuously tests builds of random configurations, eventually 
hitting one combination that exhibits the problem. It only happened once[3] so 

A possible alternative solution for Buildroot would be to disable libcdio for 
xorriso in static builds. Do you think that would be preferable?


[2] https://git.busybox.net/buildroot/tree/package/xorriso/xorriso.mk

[3] http://autobuild.buildroot.net/?reason=xorriso-1.4.6


     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
   - address@hidden - tel: +972.52.368.4656, http://www.tkos.co.il -

reply via email to

[Prev in Thread] Current Thread [Next in Thread]