bugCompact Disc Input and Control Library - Bugs: bug #12363, Compilation problems with gcc4,...

 
 

bug #12363: Compilation problems with gcc4, _FORTIFY_SOURCE

Submitter:  Ville Skyttä <scop>
Submitted:  Fri 18 Mar 2005 10:36:23 AM UTC
   
 
Category:  compilation Severity:  5 - Average
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  rocky
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 18 Mar 2005 01:38:24 PM UTC, comment #2: 

Thanks.

Regarding op->foo: As far as I know, only "read" is affected by _FORTIFY_SOURCE, the other op->foo's should be fine but changing them shouldn't hurt.  The info available about _FORTIFY_SOURCE is somewhat scarce at the moment, but here's a few pointers:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=150429
http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02055.html

Ville Skyttä <scop>
Fri 18 Mar 2005 01:01:24 PM UTC, comment #1: 

The duplicate declarations of gl_default_log_hander have been removed. Patch also applied, however in lib/driver it looks like there are several other instances of

op -> foo (a,b,c) which I've turned into
(op->foo) (a,b,c)

All of this will be part of release 0.73 which should be out probably within less than a month. Since that also addresses ISO 9660 reading problems as well, when that comes out I recommend using it.

Rocky Bernstein <rocky>
Group administrator
Fri 18 Mar 2005 10:36:23 AM UTC, original submission:  

libcdio 0.72 compilation on Fedora Core 4 test 1, gcc4, _FORTIFY_SOURCE fails with:

cd-drive.c:134: error: static declaration of 'gl_default_cdio_log_handler' follows non-static declaration
util.h:99: error: previous declaration of 'gl_default_cdio_log_handler' was here

See also the attached patch, it fixes a couple of other compilation problems with the same configuration.

Ville Skyttä <scop>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #2747:  libcdio-macro.patch added by scop (1KiB - application/octet-stream - Fix a couple of gcc4 compilation problems)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-03-18 rocky Open/ClosedOpen Closed
2005-03-18 rocky StatusNone Fixed
    Assigned toNone rocky
2005-03-18 scop Attached File- Added libcdio-macro.patch, #2324

Back to the top

Powered by Savane 3.13-3230.
Corresponding source code