Print this page
11645 tst.utf8probefunc.ksh needs to specify -m32 consistently
*** 9,19 ****
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
! # Copyright (c) 2013 Joyent, Inc. All rights reserved.
#
DIR=/var/tmp/dtest.$$
mkdir $DIR
cd $DIR
--- 9,19 ----
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
! # Copyright 2019 Joyent, Inc.
#
DIR=/var/tmp/dtest.$$
mkdir $DIR
cd $DIR
*** 41,51 ****
#
# There's the right way, the wrong way, and the Max Power way!
#
cat foo.orig.s | sed 's/foo/foø/g' > foo.s
! gcc -o foo foo.s
if ! dtrace -n 'pid$target:a.out:f*:entry{printf("probefunc: %s\n", \
probefunc)}' -qc ./foo ; then
print -u 2 "dtrace failed in $DIR"
exit 1
--- 41,51 ----
#
# There's the right way, the wrong way, and the Max Power way!
#
cat foo.orig.s | sed 's/foo/foø/g' > foo.s
! gcc -m32 -o foo foo.s
if ! dtrace -n 'pid$target:a.out:f*:entry{printf("probefunc: %s\n", \
probefunc)}' -qc ./foo ; then
print -u 2 "dtrace failed in $DIR"
exit 1