libjava build failure sol2.6 asm problem?

Alexandre Oliva aoliva@redhat.com
Wed Dec 19 10:04:00 GMT 2001


On Dec 19, 2001, Jeff Sturm <jsturm@one-point.com> wrote:

> On Tue, 18 Dec 2001, Andreas Tobler wrote:
>> > >     http://gcc.gnu.org/install/specific.html#sparc-sun-solaris2*
>> 
>> Been there and got an access denied (sun). So I guess I have to wait
>> until my IT people can help

> FYI I saw this today, but on Solaris 8.  The failing source line is

>         sethi   %hi(_GLOBAL_OFFSET_TABLE_-(.LL306-.)), %o0

> I'm not so sure this is a problem with as.  Compiling the same source file
> at -O0 works.

It's probably not the same problem as the one mentioned in the
URL above.  I tried a build a while ago using GNU as and ran into the
same problem.  It turned out that the label referenced in the
expression was indeed not present in the assembly code produced by
GCC.  It had been optimized away.  We do have a bug, indeed, but I
didn't have time to track it down.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc mailing list