Subject: Re: Building openoffice2 on amd64
To: Kouichirou Hiratsuka <hira@po6.nsk.ne.jp>
From: Paul Goyette <paul@whooppee.com>
List: pkgsrc-users
Date: 12/24/2007 23:05:26
On Tue, 25 Dec 2007, Kouichirou Hiratsuka wrote:

>> So now I go back to building openoffice2 using a cleanly installed copy
>> of gcc-3.4.6 and I get lots link failures.  Here's the last few lines
>> from the build...
>>
>>
>> `.gnu.linkonce.t._ZNK4_STL9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_bRNS_8ios_baseERiRNS_12basic_stringIcS3_NS_9allocatorIcEEEE'
>> referenced in section `.rodata' of
>> ../lib/obj/GCC/ReleaseD/locale_catalog.o: defined in discarded section
>> `.gnu.linkonce.t._ZNK4_STL9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcEEEEE6do_getES4_S4_bRNS_8ios_baseERiRNS_12basic_stringIcS3_NS_9allocatorIcEEEE'
>> of ../lib/obj/GCC/ReleaseD/locale_catalog.o
>> `.gnu.linkonce.t._ZNK4_STL9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_bRNS_8ios_baseERiRNS_12basic_stringIwS3_NS_9allocatorIwEEEE'
>> referenced in section `.rodata' of
>> ../lib/obj/GCC/ReleaseD/locale_catalog.o: defined in discarded section
>> `.gnu.linkonce.t._ZNK4_STL9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwEEEEE6do_getES4_S4_bRNS_8ios_baseERiRNS_12basic_stringIwS3_NS_9allocatorIwEEEE'
>> of ../lib/obj/GCC/ReleaseD/locale_catalog.o
>> collect2: ld returned 1 exit status
>> make: *** [../lib/libstlport_gcc.so.4.5] Error 1
>> dmake:  Error code 2, while making
>> 'unxbsdx3.pro/misc/build/so_built_so_stlport'
>> ---* tg_merge.mk *---
>>
>> ERROR: Error 65280 occurred while making
>> /usr/pkgsrc/misc/openoffice2/work.x86_64/OOG680_m9/stlport
>> dmake:  Error code 1, while making 'build_instsetoo_native'
>> ---*  *---
>> *** Error code 255
>
> Did you compile gcc34 with `USE_BINUTILS=yes'?
> It seems not work for this package.

Yes, I removed the gcc34 package and did

 	make USE_BINUTILS=yes cleandir install

and then re-ran the make for openoffice2 and got the same errors.

How can I force gcc34 to build _without_ using USE_BINUTILS?  Does
USE_BINUTILS=no work?



----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul@whooppee.com   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette@juniper.net |
----------------------------------------------------------------------