New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
perl5.005_03, Configure script confused by GNU assembler "-A" (sparc) #1915
Comments
From torek@BSDI.COM(This is fairly long, so I will pick out the important lines with ==>) Here is the relevant bit from the Configure script: ==> for i in \`$cc -v -c tmp.c 2>&1 $postprocess_cc_v\` (at or near line 11121 in Configure). Now, on the i386 running BSD/OS 4.1, "cc -v" produces: Using builtin specs. but on a sparc running the same system, we get: Using builtin specs. Note that the "as" command asserts "-Av8" to the assembler! This is For some reason, Configure wants to capture the -Asystem(), -Acpu(), Hmm... Of course, it does not define -Av8, nor does it define system= three This eventually results in h2ph producing a bogus _h2ph_pre.ph: Warning: Use of "defined" without parens is ambiguous at /usr/libdata/perl5/site_perl/sparc-bsdos/include/_h2ph_pre.ph line 2. where line 2 is: unless (defined &-Av8) { sub -Av8() { 1 } } There are several obvious cures. The "sed" command could be changed I am not sure which of these fixes to apply, or whether there is Chris |
From @smpeters
This appears to have been fixed with the following change... Change 16504 by jhi@alpha on 2002/05/08 22:51:54 Subject: [ID 20020508.012] with gcc-3.1, Config.pm's |
@smpeters - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#3185 (status was 'resolved')
Searchable as RT3185$
The text was updated successfully, but these errors were encountered: