🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41891

Re: Problem compiling glibc-1.09

#41891
From: kai ruottu,tornio
Date: Sun, 11 Feb 1996 00:00
21 lines
1480 bytes
todd@cps.com.au (Todd Saxton) writes:


>Can't compile glibc-1.09
>
>Am using gcc 2.7.2 on a sparc sun4 system with SunOS 4.1.3 2
>Seems to have problems with the __NORETURN define (defined in misc/sys/cdefs.h)
>,says "syntax error before void" where the declaration is __NORETURN void ...

  This __NORETURN is defined as '__attribute__((volatile)) when working with
2.7.0 or newer. So those 'extern __NORETURN void ...' become:
'extern __attribute__ ((volatile)) void ...' that gcc-2.7.2 doesn't like...
(don't ask me why...), so just change the places so the protos say like:
'extern void __attribute__((volatile)) functionx(parameters);' or could the
end before ';' be a more suitable place for the '__NORETURN'...

  If you get this compiled and to work somehow, I would be interested, I'm
thinking to make a cross-compiler from i386-ibcs2-world to Sparc, so a free
C-library would be needed... I have fighted with the SCO/SysV port of glibc-1.09
lately, using 2.7.2 to compile it...
Technical Details
Message-ID: <4fkmge$182@freenet.hut.fi>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4f6fh9$8i5@mippet.ci.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,a5d4dba4d3e23d45,start
X-Google-Attributes: gid11318c,public
From: karuottu@mail.freenet.hut.fi (kai ruottu,tornio)
Subject: Re: Problem compiling glibc-1.09
Date: 1996/02/11
Message-ID: <4fkmge$182@freenet.hut.fi>
X-Deja-AN: 138903254
references: <4f6fh9$8i5@mippet.ci.com.au>
organization: Freenet Finland
reply-to: karuottu@mail.freenet.hut.fi (kai ruottu,tornio)
newsgroups: gnu.gcc.help