public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Problem building gcc-4.2.2 64-bit on hp-ux 11.11
@ 2007-12-19  9:30 Thomas Mittelstaedt
  2007-12-19 11:24 ` Listaccount
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Mittelstaedt @ 2007-12-19  9:30 UTC (permalink / raw)
  To: gcc-help

Hallo,

When I built the 32-bit compiler on the platform via
 ../configure --prefix=/localbuild/opt/ 
--enable-version-specific-runtime-libs --enable-static --enable-shared 
--with-gnu-as --with-as=/localbuild/opt/hp-gcc-4.1.2/bin/as 
--with-build-time-tools=/localbuild/opt/hp-gcc-4.1.2/bin/ 
--enable-threads=posix --disable-nls --enable-languages="c,c++,objc"
and
  make LDFLAGS='-pthread' BOOT_LDFLAGS="-pthread" CFLAGS='-O' 
LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap

the -pthread flags would make it through all the configure scripts and 
successfully build the compiler.

When I try to build the 64-bit compiler via
../configure   --prefix=/localbuild/opt/gcc-4.2.2-64 
--host=hppa64-hp-hpux11.11 --target=hppa64-hp-hpux11.11 
--build=hppa64-hp-hpux11.11 --enable-version-specific-runtime-libs 
--enable-static --enable-shared --with-gnu-as 
--with-as=/localbuild/opt/hp-gcc64-4.1.2/bin/as 
--with-build-time-tools=/localbuild/opt/hp-gcc64-4.1.2/bin/ 
--enable-threads=posix --disable-nls --without-gnu-ld 
--with-ld=/usr/ccs/bin/ld --enable-languages=c,c++,java,objc

make LDFLAGS='-pthread -lpthread' BOOT_LDFLAGS="-pthread -lpthread" 
LDFLAGS_FOR_BUILD="-pthread -lpthread" CFLAGS='-O' LIBCFLAGS='-g -O2' 
LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap


i am getting errors in stage 3:
make[2]: `compare' is up to date.
make[2]: Leaving directory `/localbuild/gcc-4.2.2/.obj'
make[1]: Leaving directory `/localbuild/gcc-4.2.2/.obj'
make[1]: Entering directory `/localbuild/gcc-4.2.2/.obj'
Configuring in ./fixincludes
configure: loading cache ./config.cache
checking build system type... hppa64-hp-hpux11.11
checking host system type... hppa64-hp-hpux11.11
checking target system type... hppa64-hp-hpux11.11
checking for hppa64-hp-hpux11.11-gcc... 
/localbuild/gcc-4.2.2/.obj/./gcc/xgcc 
-B/localbuild/gcc-4.2.2/.obj/./gcc/ 
-B/localbuild/opt/gcc-4.2.2-64/hppa64-hp-hpux11.11/bin/ 
-B/localbuild/opt/gcc-4.2.2-64/hppa64-hp-hpux11.11/lib/ -isystem 
/localbuild/opt/gcc-4.2.2-64/hppa64-hp-hpux11.11/include -isystem 
/localbuild/opt/gcc-4.2.2-64/hppa64-hp-hpux11.11/sys-include
checking for C compiler default output file name... configure: error: C 
compiler cannot create executables
See `config.log' for more details.
make[1]: *** [configure-fixincludes] Error 1
make[1]: Leaving directory `/localbuild/gcc-4.2.2/.obj'
make: *** [bootstrap] Error 2


configure:1780: checking for C compiler default output file name
configure:1783: /localbuild/gcc-4.2.2/.obj/./gcc/xgcc 
-B/localbuild/gcc-4.2.2/.obj/./gcc/ 
-B/localbuild/opt/gcc-4.2.2-64/hppa64-hp-hpux11.11/bin/ 
-B/localbuild/opt/gcc-4.2.2-64/hppa64-hp-hpux11.11/lib/ -isystem 
/localbuild/opt/gcc-4.2.2-64/hppa64-hp-hpux11.11/include -isystem 
/localbuild/opt/gcc-4.2.2-64/hppa64-hp-hpux11.11/sys-include -O2 -O    
conftest.c  >&5
ld: Unsatisfied symbol "pthread_mutex_unlock" in file 
/localbuild/gcc-4.2.2/.obj/./gcc/libgcc_eh.a[unwind-dw2-fde.o]
ld: Unsatisfied symbol "pthread_mutex_lock" in file 
/localbuild/gcc-4.2.2/.obj/./gcc/libgcc_eh.a[unwind-dw2-fde.o]
2 errors.
collect2: ld returned 1 exit status
configure:1786: $? = 1
configure: failed program was:


Where can I put the damn -pthread, so that it really gets passed to all 
scripts. I bootstrapped from gcc-4.1.2 which I downloaded from
hp's dspp website.


thomas

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-01-09 17:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-19  9:30 Problem building gcc-4.2.2 64-bit on hp-ux 11.11 Thomas Mittelstaedt
2007-12-19 11:24 ` Listaccount
2007-12-19 11:44   ` Thomas Mittelstaedt
2007-12-20  8:52     ` Problem building gcc-4.2.2 64-bit on hp-ux 11.11, more problems Thomas Mittelstaedt
2007-12-20  9:04       ` Listaccount
2007-12-20 14:38         ` Problem building gcc-4.2.2 64-bit on hp-ux 11.11, more problems, SUCCESS Thomas Mittelstaedt
2007-12-22 21:16           ` Thomas Dineen
2008-01-10 21:52           ` Resolved: " Thomas Mittelstaedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).