From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 74BFD387703A; Sat, 28 Mar 2020 19:19:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 74BFD387703A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1585423151; bh=mTCZSuI8b4fNeBfBb7QJOy8U7mYSn71VWiP8ypzoTjU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=enDvcr6wLtZwuyf96B2eMmSZbY/PsZ0ZPtWmJZtcxrm1DSBbPD4XYEt3z+j+zbkpU uaCdzxh/hrj+R0Y/+hRkjN6bV10ui4x3DbmunYEwzEJ0Wv6grzktXQM0TApOrUN15h jueArVM7ADz7GFDy5jNYirge8AUYeHBJHopz48+Q= From: "a.shahmoradi at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/35014] Libgfortran.a (downloaded) is not PIC compiled... Date: Sat, 28 Mar 2020 19:19:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libfortran X-Bugzilla-Version: 4.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: a.shahmoradi at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2020 19:19:11 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D35014 Amir Shahmoradi changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |a.shahmoradi at gmail dot = com --- Comment #9 from Amir Shahmoradi --- This is an old thread, but the problem does not seem to have been resolved = yet, at least as of GFortran 8.3. I agree with cgw@alum.mit.edu on this matter. = This looks more like a bug in the design. The user should not need to rebuild an entire GNU Compiler Collection just for the sake of being able to use a compiler flag "-static-libgfortran". The lack of this feature practically m= akes the GFortran compiler useless in building shared libraries, as it will alwa= ys have dependencies that most high-level-language users will not have install= ed on their systems. Requesting them to be able to install the dependencies correctly is too much, IMO. I would appreciate it very much if this build flaw in GFortran gets fixed by also adding positions-independent library builds.=