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))


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).

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 `libstdc++.so.2.8.0'
Current working directory
/tmp_mnt/home/gnusrc/egcs-980221-patch-sunos4/libraries/pic/libstdc++
*** Error code 1
make: Fatal error: Command failed for target `multi-do'
Current working directory
/tmp_mnt/home/gnusrc/egcs-980221-patch-sunos4/libraries/libstdc++
*** Error code 1
make: Fatal error: Command failed for target `multi-all'
Current working directory
/tmp_mnt/home/gnusrc/egcs-980221-patch-sunos4/libraries/libstdc++
*** Error code 1
make: Fatal error: Command failed for target `all-target-libstdc++'
Current working directory /tmp_mnt/home/gnusrc/egcs-980221-patch-sunos4
*** Error code 1
make: Fatal error: Command failed for target `bootstrap'

Wasn't this what your original fixes were supposed to correct? :-(

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

Nearly there!

    Regards,

        Graham.

-- 
Graham Hudspith, Transmission Dev Group, | Email:
graham.hudspith@lucent.com
Lucent Technologies Network Systems (UK),|   
Swindon Road, Malmesbury,                |   
Wiltshire SN16 9NA, UK.                  | Phone: +44 1666 832372/822861


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