general ports problem

Garrett Cooper yanefbsd at gmail.com
Sat Dec 27 17:12:32 UTC 2008


On Dec 27, 2008, at 9:03, cwt <marshc187 at gmail.com> wrote:

> Garrett Cooper wrote:
>> On Dec 27, 2008, at 5:10, t-u-t <marshc187 at gmail.com <mailto:marshc187 at gmail.com 
>> >> wrote:
>>
>>>
>>>
>>> On Sat, Dec 27, 2008 at 9:27 AM, Garrett Cooper  
>>> <yanefbsd at gmail.com <mailto:yanefbsd at gmail.com>> wrote:
>>>
>>>    On Dec 26, 2008, at 22:57, Peter Jeremy
>>>    <peterjeremy at optushome.com.au
>>>    <mailto:peterjeremy at optushome.com.au>> wrote:
>>>
>>>        On 2008-Dec-27 02:38:41 +0100, t-u-t <marshc187 at gmail.com
>>>        <mailto:marshc187 at gmail.com>> wrote:
>>>
>>>            On Sat, Dec 27, 2008 at 12:53 AM, Garrett Cooper
>>>            <yanefbsd at gmail.com <mailto:yanefbsd at gmail.com>> wrote:
>>>
>>>                A config.log file would help too..
>>>
>>>            oh, i thought that would be too long. i have attached one
>>>            from a port i just
>>>            chose at random now.
>>>
>>>
>>>        Unfortunately, it got deleted by mailman.  Can you post one
>>>        of the
>>>        shorter logs somewhere (eg pastebin.ca <http://pastebin.ca>).
>>>         Also, what does 'gcc -V'
>>>        report and can you manually compile (eg) a "hello world"?
>>>
>>>
>>>    He's using the stock compiler and it appears that ld is screwed
>>>    up because it fires back an error when linking. I'll forward you
>>>    the log in my next email.
>>>    Thanks,
>>>    -Garrett
>>>
>>>
>>> i tried hello world, here's the output.
>>>
>>> $ gcc -Wall hello.c -o hello
>>> /usr/bin/ld:built in linker script:2: syntax error
>>> -- 
>>> ce la vie
>>
>> Yup. Your binutils is hosed :(.
>> -Garrett
> thanks for your help.
> i tried to give buildworld a try a moment ago before anything, but  
> also got the above ld error.

I'd just reinstall the developer package from sysinstall to be honest.  
That should do the trick. Then we wash, rinse, and repeat all the  
steps to get a working ports install of stuff.

The question is how did binutils get fubared?

-Garrett


More information about the freebsd-ports mailing list