gcc - pass2 building error in temp phase

Asked by joe71

This message can be read more times in gcc.prep log:
______________________________________________
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
______________________________________________
Building gcc is halted. How can I solve the problem?
Thx

Question information

Language:
English Edit question
Status:
Answered
For:
LFScript Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
fakı (afyonluenes) said :
#2

build --> ../binutils-build make :)

Revision history for this message
fakı (afyonluenes) said :
#3
Revision history for this message
joe71 (joe71112) said :
#4

Thanks. I overwrote gcc, glibc, binutils and libstdc scripts based on https://github.com/8l/lfscript/blob/master/scripts/lfs-10727/binutils, but it does not work. I got the same result.

Revision history for this message
fakı (afyonluenes) said :
#5

If you can find the solution to the problem, are you a writer?

Revision history for this message
fakı (afyonluenes) said :
#6

The problem might be from adding 86_64 libraries.

Revision history for this message
fakı (afyonluenes) said :
#7
Revision history for this message
fakı (afyonluenes) said :
#8
Revision history for this message
fakı (afyonluenes) said :
#9

ı dont mistake manjaro linux.what you distro?

Revision history for this message
joe71 (joe71112) said :
#10

I use multilib Debian.

Revision history for this message
fakı (afyonluenes) said :
#11

There are errors in the scripts. Some scripts are missing. Copied and pasted directly from the lfs book. Correct them from scratch and put them as revision. If you are using a telegram call me "ankaos".

Revision history for this message
fakı (afyonluenes) said :
#12

ı make debian. but not problem gcc pass2.

Can you help with this problem?

Provide an answer of your own, or ask joe71 for more information if necessary.

To post a message you must log in.