Opened 23 years ago

Closed 22 years ago

Last modified 22 years ago

#366 closed defect (fixed)

c++filt installation problem

Reported by: artyx.tw@… Owned by: lfs-book@…
Priority: highest Milestone:
Component: Book Version: CVS
Severity: normal Keywords:
Cc: gerard@…

Description

gcc-3.1 will install its c++filt (version 3.1), and binutil-2.12.1 will install its c++filt (version 2.12.1), too. However, gcc 3 changes the C++ ABI and thus old version c++filt might not be able to demangle new ABI correctly.

As the book suggests, binutil is installed AFTER gcc, and the installation will overwrite new c++filt. You may like to fix this bug.

Attachments (2)

c++filt (711 bytes ) - added by chris@… 23 years ago.
Confirm bug, suggest change, and ask for tests
c++filt.2 (139 bytes ) - added by chris@… 23 years ago.
Correction to the chapter 6 suggestion

Download all attachments as: .zip

Change History (8)

by chris@…, 23 years ago

Attachment: c++filt added

Confirm bug, suggest change, and ask for tests

comment:1 by gerard@…, 23 years ago

Regarding the test case + fix: why wait until sh-utils to run "mv c++filt.back c++filt" ?

by chris@…, 23 years ago

Attachment: c++filt.2 added

Correction to the chapter 6 suggestion

comment:2 by markh@…, 22 years ago

so guys, are we going with making the gcc version of c++filt the default one? If so, I suggest we do the rename just before and after installing binutils - there's no reason I can see to do it at any other point.

comment:3 by gerard@…, 22 years ago

Cc: gerard@… added

comment:4 by gerard@…, 22 years ago

* Bug 355 has been marked as a duplicate of this bug. *

comment:5 by gerard@…, 22 years ago

Priority: lowhighest

comment:6 by gerard@…, 22 years ago

Resolution: fixed
Status: newclosed

After discussing it, concensus is that it doesn't really matter much which one is used. The c++filt stuff from gcc and binutils are always synchronized whenever a new version of either package is released, so the current way (using binutils' version because it happens to be installed later than gcc) is good enough.

Note: See TracTickets for help on using tickets.