NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/50570: powerpc gcc 4.8.4 4.8.5 -O3 -maltivec internal compiler error



The following reply was made to PR toolchain/50570; it has been noted by GNATS.

From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: toolchain/50570: powerpc gcc 4.8.4 4.8.5 -O3 -maltivec internal
 compiler error
Date: Tue, 17 May 2016 23:47:38 -0500 (CDT)

 Note that compiling the test program with GCC 5.3.0 should be done as:
 
   $ cc -O3 -maltivec -c avecbug.c
 
 Otherwise, it will complain:
 
   $ cc -O3 -maltivec -o avecbug.o avecbug.c 
   /usr/lib/crt0.o: In function `___start':
   (.text+0x1a4): undefined reference to `main'
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 


Home | Main Index | Thread Index | Old Index