[Bug other/91879] DESTDIR support seems incomplete

2019-09-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91879 --- Comment #9 from Jonathan Wakely --- It's possible the paths passed to -isystem should be prefixed with = when a sysroot is in use, but prefixing them with $DESTDIR is definitely wrong.

[Bug other/91879] DESTDIR support seems incomplete

2019-09-24 Thread stsp at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91879 --- Comment #8 from Stas Sergeev --- (In reply to Andrew Pinski from comment #7) > Have you looked into --with-build-sysroot ? Thanks! Very helpful. But now it has the same problem when configuring libstdc++: --- configure:4574:

[Bug other/91879] DESTDIR support seems incomplete

2019-09-24 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91879 --- Comment #7 from Andrew Pinski --- (In reply to Stas Sergeev from comment #4) > (In reply to Harald van Dijk from comment #1) > > The ways to handle libc being installed in non-standard locations depend on > > your specific use case. GCC

[Bug other/91879] DESTDIR support seems incomplete

2019-09-24 Thread stsp at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91879 --- Comment #6 from Stas Sergeev --- (In reply to Jonathan Wakely from comment #5) > Which makes sense, since the system headers are not part of GCC itself, so > why would it expect them in the temporary staging area for GCC's own files? OK, I

[Bug other/91879] DESTDIR support seems incomplete

2019-09-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91879 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug other/91879] DESTDIR support seems incomplete

2019-09-24 Thread stsp at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91879 --- Comment #4 from Stas Sergeev --- (In reply to Harald van Dijk from comment #1) > The ways to handle libc being installed in non-standard locations depend on > your specific use case. GCC provides the --with-sysroot and >

[Bug other/91879] DESTDIR support seems incomplete

2019-09-24 Thread stsp at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91879 --- Comment #3 from Stas Sergeev --- (In reply to Harald van Dijk from comment #1) > archive from the DESTDIR directory and extracting it elsewhere. It is not > supposed to be used at configure time to pick up other software, only at > install

[Bug other/91879] DESTDIR support seems incomplete

2019-09-24 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91879 --- Comment #2 from Jonathan Wakely --- (In reply to Stas Sergeev from comment #0) > Hello. > > I tried to build gcc with non-empty DESTDIR. What exact commands did you run? I don't see why DESTDIR should matter until the 'make install' step.

[Bug other/91879] DESTDIR support seems incomplete

2019-09-24 Thread harald at gigawatt dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91879 Harald van Dijk changed: What|Removed |Added CC||harald at gigawatt dot nl --- Comment