My Oracle Support Banner

How to fix -xarch deprecation warning for Solaris sample makefiles? (Doc ID 1116076.1)

Last updated on SEPTEMBER 12, 2023

Applies to:

Precompilers - Version 10.2.0.1 to 11.2.0.1 [Release 10.2 to 11.2]
Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.1.0 [Release 10.2 to 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on SPARC (32-bit)

Symptoms

Using the Oracle makefile, you see output including the warning:

make -f demo_proc.mk build EXE=sample1 OBJS=sample1.o
...
cc -xarch=v9 -o sample1 sample1.o -L/opt/64bit/app/oracle/product/10.2.0.4.0/lib/ -lclntsh `cat /opt/64bit/app/oracle/product/10.2.0.4.0/lib/ldflags` `cat /opt/64bit/app/oracle/product/10.2.0.4.0/lib/sysliblist` -R/opt/64bit/app/oracle/product/10.2.0.4.0/lib -laio -lposix4 -lm -lthread
cc: Warning: -xarch=v9 is deprecated, use -m64 to create 64-bit programs

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.