found for -lSystem
collect2: error: ld returned 1 exit status
on iMac Pro Monterey 1.2, gcc version 11.2.0(Homebrew GCC 11.2.0_3) .
Any idea? Thanks~
Mian Zhang
++
Assignee: unassigned at gcc dot gnu.org
Reporter: haibin-zhang at 263 dot net
Target Milestone: ---
$ g++ --version
g++ (GCC) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for
G'Day Prof. Peter Morgan
This is Jason Zhang from RSES ANU. While I was recompiling the GAMIT due to
change of my laptop (x-86-64), I encounterred an internal compiling bug which
occurs when doing
gfortran -O3 -Wuninitialized -fno-f2c -ffast-math -fno-automatic -fno-backslash
ts
Dear working group,
Although it looks quite simple, I found the code which implicitly
converts a const char* to char*:
char* str = "Helloworld";
*str = 'a';
It can be legally compiled, and certainly produces an error when
running.
I'm not certain whether it's actually a bug or not.
-3.3.6 and gcc-3.3.5 always
output
-10 transform to -1054867456.00
which is obviously wrong.
I am not sure where is the problem, gcc or glibc, thus I send the mail to
you. Please forgive me if I have made any mistake.
Best regards,
Qianli Zhang