[Bug driver/20705] -pthread should enable all options required to use pthreads on all platforms
--- Comment #6 from leisner at rochester dot rr dot com 2006-06-16 20:03 --- It seems the specs file for solaris is also wrong -- I had to add -lrt to enable pthreads (on solaris 2.8 anyway and gcc 3.4.x). -- leisner at rochester dot rr dot com changed: What|Removed |Added CC||leisner at rochester dot rr ||dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20705
[Bug c++/37116] New: installing gcc in a non-conventional place has problems finding libstdc++.
My fedora 8 system: bash2 :2 [EMAIL PROTECTED] 11:47:40; gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: /home/mleisner/src/gcc-4.3.1/configure --with-mpfr=/usr/local/ --prefix=/usr/gnu/gcc-4.3.1 Thread model: posix gcc version 4.3.1 (GCC) % oggDump oggDump: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by oggDump) % LD_LIBRARY_PATH=/usr/gnu/gcc/lib oggDump usage [options] file Options are: -h : help screen -g : dump pages -p : dump packets -l : information depth default: 5(most information) -s : promt for streams to dump -o : output dump information to a file bash2 :2 [EMAIL PROTECTED] 11:48:27; By default, I suppose a -Wl,-rpath, would be useful... marty -- Summary: installing gcc in a non-conventional place has problems finding libstdc++. Product: gcc Version: 4.3.1 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: leisner at rochester dot rr dot com GCC host triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37116
[Bug bootstrap/34481] stage3-intl: error: C compiler cannot create executables
--- Comment #7 from leisner at rochester dot rr dot com 2008-07-19 16:11 --- (In reply to comment #6) > It seems to do better (still compiling), now that I've adjusted the > LD_LIBRARY_PATH to point to mpfr (there's another bug that seems to be a > duplicate). It should really produce a better warning or something. It really > did work with the pre-releases. > I just built gcc 4.3.1 on a fedora3 platform (with mpfr installed -- I just did). Doing --with-mpfr was not sufficient, I also had to set LD_LIBRARY_PATH. -- leisner at rochester dot rr dot com changed: What|Removed |Added CC| |leisner at rochester dot rr | |dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34481
[Bug c/26683] New: sparc-solaris likes -pthreads, linux likes -pthread
Did a search -- didn't see this...I'm porting threaded software between solaris and linux and came across this... bash2 :2 [EMAIL PROTECTED] 01:30:15; gcc -v Reading specs from /usr/local/gcc-3.4.5/lib/gcc/sparc-sun-solaris2.8/3.4.5/specs Configured with: /usr/local/src/gnu/gcc-3.4.5/configure --prefix=/usr/local/gcc-3.4.5 --disable-multilib --with-as=/usr/local/bin/as --with-ld=/usr/local/bin/ld --enable-threads=posix --disable-nls --enable-languages=c,c++ Thread model: posix gcc version 3.4.5 bash2 :2 [EMAIL PROTECTED] 01:30:18; gcc -pthread gcc: unrecognized option `-pthread' gcc: no input files bash2 :2 [EMAIL PROTECTED] 01:30:21; gcc -pthreads gcc: no input files :1 [EMAIL PROTECTED] 01:30:44; gcc -v Reading specs from /u/mleisner/lib/gcc/i686-pc-linux-gnu/3.4.5/specs Configured with: ../../src/gcc-3.4.5/configure --prefix=/u/mleisner --enable-__cxa_atexit --disable-nls --enable-languages=c,c++ Thread model: posix gcc version 3.4.5 :1 [EMAIL PROTECTED] 01:30:46; gcc -pthread gcc: no input files :1 [EMAIL PROTECTED] 01:30:53; gcc -pthreads gcc: unrecognized option `-pthreads' gcc: no input files Its different in the spec files -- its spelled -pthread in the documentation... -- Summary: sparc-solaris likes -pthreads, linux likes -pthread Product: gcc Version: 3.4.5 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: leisner at rochester dot rr dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26683