Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#4636 closed task (fixed)

ICA: .la files change the libraries that are linked into programs

Reported by: Bruce Dubbs Owned by: lfs-book
Priority: normal Milestone: 10.0
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

Because of a bug in ICA (now fixed), .la files were deleted after first pass, but not after second. This was leading to various programs begin linked differently between 2nd and 3rd pass, and also some RPATH added on 3rd pass.

Solution .la files are evil! Strongly suggest to delete them, but "your distro, your rules".

Possible side effect Several if not removing .la files (specially because of the mixture between meson and libtool).

Change History (4)

comment:1 by Bruce Dubbs, 5 years ago

From pierre.labastie:

.la files are really evil. In BLFS, libxml2.la makes everything depending on libxml2.so.2 also depending on libicu*.so.${version}. And when icu is upgraded (its soname often changes) tons of packages have to be rebuilt. Now I remove those .la files after installing any package.

in reply to:  1 comment:2 by Pierre Labastie, 5 years ago

Replying to bdubbs:

From pierre.labastie:

.la files are really evil. In BLFS, libxml2.la makes everything depending on libxml2.so.2 also depending on libicu*.so.${version}. And when icu is upgraded (its soname often changes) tons of packages have to be rebuilt. Now I remove those .la files after installing any package.

it's from xry111, actually.

comment:3 by Pierre Labastie, 5 years ago

Resolution: fixed
Status: newclosed

Fixed at r11815.

comment:4 by Bruce Dubbs, 4 years ago

Milestone: 9.210.0

Milestone renamed

Note: See TracTickets for help on using tickets.