This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch for configuring/building in ${srcdir} (was: Re: Does it work now with my patch? (was: Re: egcs-980221: build fails for shared libstdc++ on HP-UX 10.20))


On Tue, 3 March 1998, 12:56:15, geordie@lucent.com wrote:

 > Manfred Hollstein wrote:
 > >  > On Mon, 02 Mar 1998, 11:44:59, geordie@lucent.com wrote:
 > >  >
 > >  >  > Sorry, Manfred, but when I apply your patch to a virgin
 > >  >  > egcs-980221 source tree, do my 'make a symbolic link tree'
 > >  >  > stunt and then rebuild from scratch on HP-UX 10.20, the
 > >  >  > results are the same.
 > >  >
 > > 
 > > OK, I tested the same procedure, but didn't choose the same
 > > configuration :-( My one wasn't multilib'ed. The appended patch
 > > should fix all your build problems now.
 > > 
 > 
 > Sorry Manfred, but not quite there. Your new patch now means
 > that my builds for HP-UX 10.20 and SunOS 5 now work (as long
 > as you build using GNU make, but I'll raise that as a new bug
 > after this has been folded into the real sources).

A related one? Yesterday, I didn't have any problems neither with
HP's native make, nor with SunOS's?!?!

 > 
 > However, my build for SunOS 4 still fails in libstdc++ ...
 > 
 > mv tlist piclist
 > /tmp_mnt/home/gnusrc/egcs-980221-patch-sunos4/gcc/xgcc
 > -B/tmp_mnt/home/gnusrc/egcs-980221-patch-sunos4/gcc/ -g -O2
 > -fno-implicit-templates  -fpic `case "-g -O2  -fpic -g -O2
 > -fno-implicit-templates  -fpic" in *-fpic* ) echo -fpic ;; * ) echo
 > -fPIC ;; esac` -shared -o libstdc++.so.2.8.0 `cat piclist` 
 > ld: ../libiberty/pic/strtoul.o: can't mix pic and PIC .o
 > collect2: ld returned 4 exit status
 > *** Error code 1
 > make: Fatal error: Command failed for target `bootstrap'
 > 
 > Wasn't this what your original fixes were supposed to correct? :-(

Note, this is a different failure than before. At least the PICFLAGS are
now in the commandline ;-)

But, what the h... am I doing different? I tested this today on SunOS 4,
too, hence I don't know why it's still failing for you.

 > 
 > I'll e-mail you my new nohup.out via a separate message.

I'm waiting...

 > 
 > Nearly there!

The never ending story...

manfred


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]