Opened 20 years ago

Closed 20 years ago

#883 closed defect (invalid)

libstdc++.la contains references to source directory

Reported by: frozen@… Owned by: jim@…
Priority: lowest Milestone:
Component: Book Version: 5.0
Severity: trivial Keywords:
Cc:

Description

This isn't a big issue, but, all subsequent libtool archives for libraries/ objects that depend on libstdc++ will have this dependency as well. It's just rather messy, and probably shouldn't be in there.

Here is what is in my /usr/lib/libstdc++.la file for GCC 3.3.1

# Libraries that this one depends upon. dependency_libs=' -L/sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/src -L/ sources/gcc-build/i686-pc-linux-gnu/libstdc++-v3/src/.libs -lm -lm -lm -L/ sources/gcc-build/gcc -lgcc_s -lc -lgcc_s -lm -lgcc_s -lc -lgcc_s'

The same is true for GCC 3.3.3, which I've installed indepedently (non-LFS oriented) on another machine.

Thanks. LFS is great. Keep up the great work :)

Change History (5)

comment:1 by jim@…, 20 years ago

Status: newassigned

It will only check the the directories needed. What concerns me is with your setup compared to mine is the entire line is missing something. I have posted mine for you to compare. In Chapter 6 this should end up link this. Please verify that you built chapter 6 correctly and let me know. I'm going to see if I can recreate the problem.

# Libraries that this one depends upon. dependency_libs=' -L/usr/src/glibc-build/i686-pc-linux-gnu/libstdc++-v3/src -L/usr/src/glibc-build/i686-pc-linux-gnu/libstdc++-v3/src/.libs -lm -lm -lm -L/usr/src/glibc-build/gcc -L/usr/lib/gcc/i686-pc-linux-gnu/../.. -lgcc_s -lc -lgcc_s -lm -lgcc_s -lc -lgcc_s'

comment:2 by jim@…, 20 years ago

Owner: changed from lfs-book@… to jim@…
Status: assignednew

comment:3 by frozen@…, 20 years ago

Even still, those entries seem rather pointless. I don't think there should be any references to the source directory, glibc or gcc... but it is interesting that you have glibc.

I'm not quite sure how to verify correct installation per chapter 6. I've been using this LFS setup since November 2003...

Although, I've installed another LFS recently (3 months ago) on another partition, and the same effect has occurred. Also, I installed GCC 3.3.3 to /opt on a server, and the libstdc++.la file still contained references that linked back to the source directory.

comment:4 by jim@…, 20 years ago

I made an error in my build files, you helped me to catch that. My new line reads.

# Libraries that this one depends upon. dependency_libs=' -L/usr/src/temp-build/i686-pc-linux-gnu/libstdc++-v3/src -L/usr/src/temp-build/i686-pc-linux-gnu/libstdc++-v3/src/.libs -lm -lm -lm -L/usr/src/temp-build/gcc -L/usr/lib/gcc/i686-pc-linux-gnu/../.. -lgcc_s -lc -lgcc_s -lm -lgcc_s -lc -lgcc_s'

This may be a none issue, but I'm still checking it ou.

comment:5 by jim@…, 20 years ago

Resolution: invalid
Severity: minortrivial
Status: newclosed

Talk with Ryan, this is a non-issue. Even though the paths are incorrect, it is fine, this is a minor annoyance with libtool. Which Ryan and I are looking at. Will close this ticket as invalid, but will be opening a ticket for the underlying problem with libtool

Note: See TracTickets for help on using tickets.