Opened 4 years ago
Closed 4 years ago
#60639 closed defect (fixed)
gildas @202006b: Error: BOZ literal constant near (1) cannot be assigned to a REAL variable
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | bardeau |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | Cc: | ||
Port: | gildas |
Description
gildas does not build, at least not on Yosemite:
/opt/local/bin/gfortran-mp-10 -c -std=legacy -Os -I./ -I./built/x86_64-darwin-gfortran -I/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gildas/gildas/work/gildas-src-jun20b/integ/x86_64-darwin-gfortran/include -J./built/x86_64-darwin-gfortran -pipe -fno-backslash -fno-range-check -fno-second-underscore -fPIC -O built/x86_64-darwin-gfortran/r1mach.f -o built/x86_64-darwin-gfortran/r1mach.o built/x86_64-darwin-gfortran/r1mach.f:271:33: 271 | DATA RMACH(5) / Z'3E9A209B' / | 1 Error: BOZ literal constant near (1) cannot be assigned to a REAL variable [see '-fno-allow-invalid-boz'] built/x86_64-darwin-gfortran/r1mach.f:270:33: 270 | DATA RMACH(4) / Z'34000000' / | 1 Error: BOZ literal constant near (1) cannot be assigned to a REAL variable [see '-fno-allow-invalid-boz'] built/x86_64-darwin-gfortran/r1mach.f:269:33: 269 | DATA RMACH(3) / Z'33800000' / | 1 Error: BOZ literal constant near (1) cannot be assigned to a REAL variable [see '-fno-allow-invalid-boz'] built/x86_64-darwin-gfortran/r1mach.f:268:33: 268 | DATA RMACH(2) / Z'7F7FFFFF' / | 1 Error: BOZ literal constant near (1) cannot be assigned to a REAL variable [see '-fno-allow-invalid-boz'] built/x86_64-darwin-gfortran/r1mach.f:267:33: 267 | DATA RMACH(1) / Z'00800000' / | 1 Error: BOZ literal constant near (1) cannot be assigned to a REAL variable [see '-fno-allow-invalid-boz'] make[2]: *** [built/x86_64-darwin-gfortran/r1mach.o] Error 1
Change History (2)
comment:1 Changed 4 years ago by bardeau
comment:2 Changed 4 years ago by bardeau
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
When using gfortran>=10, the option -fallow-invalid-boz should have been added. I suspect the gfortran version is not correctly detected under Yosemite because of this other bug: #60051