tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* CC faults compiling OpenLDAP
@ 2004-05-12 13:24 Nikola Milutinovic
  0 siblings, 0 replies; only message in thread
From: Nikola Milutinovic @ 2004-05-12 13:24 UTC (permalink / raw)


Hi all.

I don't have a support contract, so I'm trying to report here.

HW: AlphaStation 200 4/233
OS: Tru64 UNIX 5.1B
PK: Service Pack 3
CC: Compaq C V6.5-011 on Compaq Tru64 UNIX V5.1B (Rev. 2650)
     Compiler Driver V6.5-003 (sys) cc Driver

I was trying to compile OpenLDAP v2.2.11, CFLAGS were set to "-pthread 
-O4 -c99". Compilation reported a CC error:

cc -pthread -O4 -c99 -I../../include -I../../include -c -o ure.o ure.c
cc: Fatal: A memory access violation (bus error or segmentation fault)
has occurred.  Please submit a problem report.

The faulting file was "openldap-2.2.11/libraries/liblunicode/ure.c".

When I removed "-O4" flag from CFLAGS, it compiled. So, there is a 
workaround, at least. The file in question is rather long to post here 
and it depends on several others. Is anybody willing to take this?

Or is there a "simple" solution - get a newer version of Compaq C?

Nix.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-05-12 13:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-12 13:24 CC faults compiling OpenLDAP Nikola Milutinovic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox